Generated on Mon May 10 06:46:53 2010 for Gecode by doxygen 1.6.3

StressDistinct Class Reference
[Scripts for stress tests]

Example: Stress distinct propagator More...

List of all members.

Public Member Functions

 StressDistinct (const SizeOptions &opt)
 The actual problem.
 StressDistinct (bool share, StressDistinct &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Perform copying during cloning.
virtual void print (std::ostream &os) const
 Print solution.

Protected Attributes

IntVarArray x
 Variables.

Detailed Description

Example: Stress distinct propagator

Performs propagation on a pathological example. The example is taken from: Jean-Francois Puget, A fast algorithm for the bound consistency of alldiff constraints, AAAI-98, pages 359-366, July 1998, Madison, WI, USA.

Definition at line 53 of file stress-distinct.cpp.


Constructor & Destructor Documentation

StressDistinct::StressDistinct ( const SizeOptions opt  )  [inline]

The actual problem.

Definition at line 59 of file stress-distinct.cpp.

StressDistinct::StressDistinct ( bool  share,
StressDistinct s 
) [inline]

Constructor for cloning s.

Definition at line 66 of file stress-distinct.cpp.


Member Function Documentation

virtual Space* StressDistinct::copy ( bool  share  )  [inline, virtual]

Perform copying during cloning.

Definition at line 71 of file stress-distinct.cpp.

virtual void StressDistinct::print ( std::ostream &  os  )  const [inline, virtual]

Print solution.

Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.

Definition at line 76 of file stress-distinct.cpp.


Member Data Documentation

Variables.

Definition at line 56 of file stress-distinct.cpp.


The documentation for this class was generated from the following file: