StressMin Class Reference
[Example scripts (models)]
Inherits Example.
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 Space * | copy (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] |
StressMin::StressMin | ( | bool | share, | |
StressMin & | s | |||
) | [inline] |
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] |
Member Data Documentation
const int StressMin::n [protected] |
IntVarArray StressMin::x [protected] |
The documentation for this class was generated from the following file:
- examples/stress-min.cc (Revision: 3456)