StressDomain Class Reference
[Scripts for stress tests]
Example: Domain stress test More...
Public Member Functions | |
StressDomain (const SizeOptions &opt) | |
The actual problem. | |
StressDomain (bool share, StressDomain &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: Domain stress test
Definition at line 49 of file stress-domain.cpp.
Constructor & Destructor Documentation
StressDomain::StressDomain | ( | const SizeOptions & | opt | ) | [inline] |
The actual problem.
Definition at line 55 of file stress-domain.cpp.
StressDomain::StressDomain | ( | bool | share, | |
StressDomain & | s | |||
) | [inline] |
Constructor for cloning s.
Definition at line 75 of file stress-domain.cpp.
Member Function Documentation
virtual Space* StressDomain::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Implements Gecode::Space.
Definition at line 80 of file stress-domain.cpp.
virtual void StressDomain::print | ( | std::ostream & | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< Space >.
Definition at line 85 of file stress-domain.cpp.
Member Data Documentation
IntVarArray StressDomain::x [protected] |
Variables.
Definition at line 52 of file stress-domain.cpp.
The documentation for this class was generated from the following file:
- examples/stress-domain.cpp (Revision: 8649)