StressDistinct Class Reference
[Scripts for stress tests]
Inherits Example.
Detailed Description
Example: Stress distinct propagatorPerforms propagation on a pathological example. The example is taken from: Jean-Francois Puget, A fast algorithm for the bound consistency of alldiff constraints, AAAI-98, pages 359-366, July 1998, Madison, WI, USA.
Definition at line 50 of file stress-distinct.cc.
Public Member Functions | |
| StressDistinct (const SizeOptions &opt) | |
| The actual problem. | |
| StressDistinct (bool share, StressDistinct &s) | |
| Constructor for cloning s. | |
| virtual Space * | copy (bool share) |
| Perform copying during cloning. | |
| virtual void | print (std::ostream &os) |
| Print solution. | |
Protected Attributes | |
| IntVarArray | x |
| Variables. | |
Constructor & Destructor Documentation
| StressDistinct::StressDistinct | ( | const SizeOptions & | opt | ) | [inline] |
| StressDistinct::StressDistinct | ( | bool | share, | |
| StressDistinct & | s | |||
| ) | [inline] |
Member Function Documentation
| virtual Space* StressDistinct::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Implements Gecode::Space.
Definition at line 68 of file stress-distinct.cc.
| virtual void StressDistinct::print | ( | std::ostream & | os | ) | [inline, virtual] |
Member Data Documentation
IntVarArray StressDistinct::x [protected] |
The documentation for this class was generated from the following file:
- examples/stress-distinct.cc (Revision: 5524)
