StressExec Class Reference
[Scripts for stress tests]
Inherits Example.
Detailed Description
Example: Execution stress testThe size argument defines how many duplicate propagators are created.
Definition at line 49 of file stress-exec.cc.
Public Member Functions | |
StressExec (const SizeOptions &opt) | |
The actual problem. | |
StressExec (bool share, StressExec &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. | |
Static Protected Attributes | |
static const int | n = 1000000 |
Initial domain size. |
Constructor & Destructor Documentation
StressExec::StressExec | ( | const SizeOptions & | opt | ) | [inline] |
StressExec::StressExec | ( | bool | share, | |
StressExec & | s | |||
) | [inline] |
Member Function Documentation
virtual Space* StressExec::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Implements Gecode::Space.
Definition at line 74 of file stress-exec.cc.
virtual void StressExec::print | ( | std::ostream & | ) | [inline, virtual] |
Member Data Documentation
IntVarArray StressExec::x [protected] |
const int StressExec::n = 1000000 [static, protected] |
The documentation for this class was generated from the following file:
- examples/stress-exec.cc (Revision: 5524)