Generated on Mon Aug 25 11:35:48 2008 for Gecode by doxygen 1.5.6

StressExec Class Reference
[Scripts for stress tests]

Inherits Example.

List of all members.


Detailed Description

Example: Execution stress test

The 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 Spacecopy (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]

The actual problem.

Definition at line 57 of file stress-exec.cc.

StressExec::StressExec ( bool  share,
StressExec s 
) [inline]

Constructor for cloning s.

Definition at line 68 of file stress-exec.cc.


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]

Print solution.

Reimplemented from Example.

Definition at line 80 of file stress-exec.cc.


Member Data Documentation

Variables.

Definition at line 52 of file stress-exec.cc.

const int StressExec::n = 1000000 [static, protected]

Initial domain size.

Definition at line 54 of file stress-exec.cc.


The documentation for this class was generated from the following file: