Generated on Mon Aug 25 11:35:48 2008 for Gecode by doxygen 1.5.6

StressMin Class Reference
[Scripts for stress tests]

Inherits Example.

List of all members.


Detailed Description

Example: Stress test for the minimum constraint

Definition at line 46 of file stress-min.cc.


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)
 Print solution.

Protected Attributes

const int n
 Size of problem.
IntVarArray x
 Variables.

Constructor & Destructor Documentation

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

The actual problem.

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

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

Constructor for cloning s.

Definition at line 68 of file stress-min.cc.


Member Function Documentation

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

Perform copying during cloning.

Implements Gecode::Space.

Definition at line 74 of file stress-min.cc.

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

Print solution.

Reimplemented from Example.

Definition at line 80 of file stress-min.cc.


Member Data Documentation

const int StressMin::n [protected]

Size of problem.

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

Variables.

Definition at line 51 of file stress-min.cc.


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