Generated on Wed Nov 1 15:04:52 2006 for Gecode by doxygen 1.4.5

StressMin Class Reference
[Example scripts (models)]

Inherits Example.

List of all members.


Detailed Description

Example: Stress test for the minimum constraint

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

Public Member Functions

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

Protected Attributes

const int n
 Size of problem.
IntVarArray x
 Variables.


Constructor & Destructor Documentation

StressMin::StressMin const Options opt  )  [inline]
 

The actual problem.

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

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

Constructor for cloning s.

Definition at line 52 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 58 of file stress-min.cc.

virtual void StressMin::print void   )  [inline, virtual]
 

Print solution.

Reimplemented from Example.

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


Member Data Documentation

const int StressMin::n [protected]
 

Size of problem.

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

IntVarArray StressMin::x [protected]
 

Variables.

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


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