Test::Set::Element::ElementUnionConst Class Reference
[Element constraints]
Test for ElementUnionConst constraint More...
Public Member Functions | |
ElementUnionConst (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 &) |
Post constraint on x. |
Detailed Description
Test for ElementUnionConst constraint
Definition at line 106 of file element.cpp.
Constructor & Destructor Documentation
Test::Set::Element::ElementUnionConst::ElementUnionConst | ( | const char * | t | ) | [inline] |
Create and register test.
Definition at line 113 of file element.cpp.
Member Function Documentation
virtual bool Test::Set::Element::ElementUnionConst::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Set::SetTest.
Definition at line 116 of file element.cpp.
virtual void Test::Set::Element::ElementUnionConst::post | ( | Space & | home, | |
SetVarArray & | x, | |||
IntVarArray & | ||||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/set/element.cpp (Revision: 13068)