StressSearch Class Reference
[Scripts for stress tests]
Example: Search stress test More...
Public Member Functions | |
StressSearch (const SizeOptions &opt) | |
The actual problem. | |
StressSearch (bool share, StressSearch &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Perform copying during cloning. | |
virtual void | print (std::ostream &) const |
Print solution. | |
Protected Attributes | |
IntVarArray | x |
Variables. |
Detailed Description
Example: Search stress test
Definition at line 49 of file stress-search.cpp.
Constructor & Destructor Documentation
StressSearch::StressSearch | ( | const SizeOptions & | opt | ) | [inline] |
The actual problem.
Definition at line 55 of file stress-search.cpp.
StressSearch::StressSearch | ( | bool | share, | |
StressSearch & | s | |||
) | [inline] |
Constructor for cloning s.
Definition at line 61 of file stress-search.cpp.
Member Function Documentation
virtual Space* StressSearch::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Definition at line 67 of file stress-search.cpp.
virtual void StressSearch::print | ( | std::ostream & | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
Definition at line 73 of file stress-search.cpp.
Member Data Documentation
IntVarArray StressSearch::x [protected] |
Variables.
Definition at line 52 of file stress-search.cpp.
The documentation for this class was generated from the following file:
- examples/stress-search.cpp (Revision: 8649)