
Test for single value precedence constraint More...
Public Member Functions | |
| Single (int s0, int t0) | |
| Create and register test. | |
| virtual bool | solution (const Assignment &x) const |
| Test whether x is solution | |
| virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
| Post constraint on x. | |
Test for single value precedence constraint
Definition at line 50 of file precede.cpp.
| Test::Int::Precede::Single::Single | ( | int | s0, |
| int | t0 | ||
| ) | [inline] |
Create and register test.
Definition at line 56 of file precede.cpp.
| virtual bool Test::Int::Precede::Single::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::Precede::Single::post | ( | Gecode::Space & | home, |
| Gecode::IntVarArray & | x | ||
| ) | [inline, virtual] |