StressSearch Class Reference
[Scripts for stress tests]
Inherits Example.
Detailed Description
Example: Search stress testDefinition at line 46 of file stress-search.cc.
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 &) |
Print solution. | |
Protected Attributes | |
IntVarArray | x |
Variables. |
Constructor & Destructor Documentation
StressSearch::StressSearch | ( | const SizeOptions & | opt | ) | [inline] |
StressSearch::StressSearch | ( | bool | share, | |
StressSearch & | s | |||
) | [inline] |
Member Function Documentation
virtual Space* StressSearch::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Implements Gecode::Space.
Definition at line 64 of file stress-search.cc.
virtual void StressSearch::print | ( | std::ostream & | ) | [inline, virtual] |
Member Data Documentation
IntVarArray StressSearch::x [protected] |
The documentation for this class was generated from the following file:
- examples/stress-search.cc (Revision: 5524)