
Test for ElementSetConst constraint More...
Public Member Functions | |
| ElementSetConst (const char *t) | |
| Create and register test. | |
| virtual bool | solution (const SetAssignment &x) const |
| Test whether x is solution | |
| virtual void | post (Space &home, SetVarArray &x, IntVarArray &y) |
| Post constraint on x. | |
Test for ElementSetConst constraint
Definition at line 328 of file element.cpp.
| Test::Set::Element::ElementSetConst::ElementSetConst | ( | const char * | t | ) | [inline] |
Create and register test.
Definition at line 335 of file element.cpp.
| virtual bool Test::Set::Element::ElementSetConst::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Set::SetTest.
Definition at line 338 of file element.cpp.
| virtual void Test::Set::Element::ElementSetConst::post | ( | Space & | home, |
| SetVarArray & | x, | ||
| IntVarArray & | y | ||
| ) | [inline, virtual] |