Test for domain constraint (empty range) More...
Public Member Functions | |
DomRangeEmpty (void) | |
Create and register test. | |
virtual bool | solution (const Assignment &) const |
Test whether x is solution | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &) |
Post constraint on x. | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::Reify r) |
Post reified constraint on x for r. |
Test::Int::Dom::DomRangeEmpty::DomRangeEmpty | ( | void | ) | [inline] |
virtual bool Test::Int::Dom::DomRangeEmpty::solution | ( | const Assignment & | ) | const [inline, virtual] |
virtual void Test::Int::Dom::DomRangeEmpty::post | ( | Gecode::Space & | home, |
Gecode::IntVarArray & | |||
) | [inline, virtual] |
virtual void Test::Int::Dom::DomRangeEmpty::post | ( | Gecode::Space & | home, |
Gecode::IntVarArray & | x, | ||
Gecode::Reify | r | ||
) | [inline, virtual] |
Post reified constraint on x for r.
Reimplemented from Test::Int::Test.