Test::Set::RelOpConst::RelSSI Class Reference
[Relation/operation constraints with constants]
Test for set relation constraint with constants More...
Public Member Functions | |
RelSSI (Gecode::SetOpType sot0, Gecode::SetRelType srt0, int intSet) | |
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 156 of file rel-op-const.cpp.
Constructor & Destructor Documentation
Test::Set::RelOpConst::RelSSI::RelSSI | ( | Gecode::SetOpType | sot0, | |
Gecode::SetRelType | srt0, | |||
int | intSet | |||
) | [inline] |
Create and register test.
Definition at line 187 of file rel-op-const.cpp.
Member Function Documentation
bool Test::Set::RelOpConst::RelSSI::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Set::SetTest.
Definition at line 193 of file rel-op-const.cpp.
void Test::Set::RelOpConst::RelSSI::post | ( | Space & | home, | |
SetVarArray & | x, | |||
IntVarArray & | ||||
) | [inline, virtual] |
Post constraint on x.
Implements Test::Set::SetTest.
Definition at line 235 of file rel-op-const.cpp.
The documentation for this class was generated from the following file:
- test/set/rel-op-const.cpp (Revision: 11297)