Test::Set::RelOpConst::RelSIS Class Reference
[Relation/operation constraints with constants]
Test for set relation constraint with constants More...
Public Member Functions | |
RelSIS (Gecode::SetOpType sot0, Gecode::SetRelType srt0, int intSet, bool inverse0) | |
Create and register test. | |
bool | solution (const SetAssignment &x) const |
Test whether x is solution | |
void | post (Space &home, SetVarArray &x, IntVarArray &) |
Post constraint on x. |
Detailed Description
Test for set relation constraint with constants
Definition at line 56 of file rel-op-const.cpp.
Constructor & Destructor Documentation
Test::Set::RelOpConst::RelSIS::RelSIS | ( | Gecode::SetOpType | sot0, | |
Gecode::SetRelType | srt0, | |||
int | intSet, | |||
bool | inverse0 | |||
) | [inline] |
Create and register test.
Definition at line 88 of file rel-op-const.cpp.
Member Function Documentation
bool Test::Set::RelOpConst::RelSIS::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Set::SetTest.
Definition at line 94 of file rel-op-const.cpp.
void Test::Set::RelOpConst::RelSIS::post | ( | Space & | home, | |
SetVarArray & | x, | |||
IntVarArray & | ||||
) | [inline, virtual] |
Post constraint on x.
Implements Test::Set::SetTest.
Definition at line 143 of file rel-op-const.cpp.
The documentation for this class was generated from the following file:
- test/set/rel-op-const.cpp