Simple test for when. More...
Public Member Functions | |
When (void) | |
Create and register test. | |
virtual bool | solution (const Assignment &x) const |
Check whether x is solution. | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
Post when on x. | |
Static Public Member Functions | |
static void | t (Gecode::Space &home) |
Then-function to be executed. | |
static void | e (Gecode::Space &home) |
Else-function to be executed. |
Test::Int::Exec::When::When | ( | void | ) | [inline] |
virtual bool Test::Int::Exec::When::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::Exec::When::post | ( | Gecode::Space & | home, |
Gecode::IntVarArray & | x | ||
) | [inline, virtual] |
static void Test::Int::Exec::When::t | ( | Gecode::Space & | home | ) | [inline, static] |
static void Test::Int::Exec::When::e | ( | Gecode::Space & | home | ) | [inline, static] |