StressMin Class Reference
[Scripts for stress tests]
Inherits Example.
Detailed Description
Example: Stress test for the minimum constraintDefinition 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 Space * | copy (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] |
| 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 74 of file stress-min.cc.
| virtual void StressMin::print | ( | std::ostream & | os | ) | [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: 5524)
