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
|
The actual problem.
Definition at line 38 of file stress-min.cc. |
|
Constructor for cloning s.
Definition at line 52 of file stress-min.cc. |
Member Function Documentation
|
Perform copying during cloning.
Implements Gecode::Space. Definition at line 58 of file stress-min.cc. |
|
Print solution.
Reimplemented from Example. Definition at line 64 of file stress-min.cc. |
Member Data Documentation
|
Size of problem.
Definition at line 33 of file stress-min.cc. |
|
Variables.
Definition at line 35 of file stress-min.cc. |
The documentation for this class was generated from the following file:
- examples/stress-min.cc (Revision: 3456)