Test::Set::Precede::Single Class Reference
Test for single value precedence constraint More...
Public Member Functions | |
| Single (int s0, int t0) | |
| Create and register test. | |
| virtual bool | solution (const SetAssignment &x) const |
| Test whether x is solution | |
| virtual void | post (Gecode::Space &home, Gecode::SetVarArray &x, Gecode::IntVarArray &) |
| Post constraint on x. | |
Detailed Description
Test for single value precedence constraint
Definition at line 52 of file precede.cpp.
Constructor & Destructor Documentation
| Test::Set::Precede::Single::Single | ( | int | s0, | |
| int | t0 | |||
| ) | [inline] |
Create and register test.
Definition at line 66 of file precede.cpp.
Member Function Documentation
| virtual bool Test::Set::Precede::Single::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Set::SetTest.
Definition at line 70 of file precede.cpp.
| virtual void Test::Set::Precede::Single::post | ( | Gecode::Space & | home, | |
| Gecode::SetVarArray & | x, | |||
| Gecode::IntVarArray & | ||||
| ) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/set/precede.cpp
