Test::Set::RelOpConst::RelSSI Class Reference
[Relation/operation constraints with constants]
Inherits Test::Set::SetTest.
Detailed Description
Test for set relation constraint with constants.Definition at line 156 of file rel-op-const.cc.
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. |
Constructor & Destructor Documentation
Test::Set::RelOpConst::RelSSI::RelSSI | ( | Gecode::SetOpType | sot0, | |
Gecode::SetRelType | srt0, | |||
int | intSet | |||
) | [inline] |
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.cc.
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.cc.
The documentation for this class was generated from the following file:
- test/set/rel-op-const.cc (Revision: 6261)