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

StressMin Class Reference
[Scripts for stress tests]

Example: Stress test for the minimum constraint More...

List of all members.

Public Member Functions

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

Protected Attributes

const int n
 Size of problem.
IntVarArray x
 Variables.

Detailed Description

Example: Stress test for the minimum constraint

Definition at line 49 of file stress-min.cpp.


Constructor & Destructor Documentation

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

The actual problem.

Definition at line 57 of file stress-min.cpp.

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

Constructor for cloning s.

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


Member Function Documentation

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

Perform copying during cloning.

Definition at line 77 of file stress-min.cpp.

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

Print solution.

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

Definition at line 83 of file stress-min.cpp.


Member Data Documentation

const int StressMin::n [protected]

Size of problem.

Definition at line 52 of file stress-min.cpp.

Variables.

Definition at line 54 of file stress-min.cpp.


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