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