Test::Set::Rel::RelBin Class Reference
[Relation constraints]
Inherits Test::Set::SetTest.
Detailed Description
Test for binary set relation constraint.Definition at line 56 of file rel.cc.
Public Member Functions | |
RelBin (Gecode::SetRelType srt0, bool shared0) | |
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. | |
void | post (Space *home, SetVarArray &x, IntVarArray &, BoolVar b) |
Post reified constraint on x for b. |
Constructor & Destructor Documentation
Test::Set::Rel::RelBin::RelBin | ( | Gecode::SetRelType | srt0, | |
bool | shared0 | |||
) | [inline] |
Member Function Documentation
bool Test::Set::Rel::RelBin::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
void Test::Set::Rel::RelBin::post | ( | Space * | home, | |
SetVarArray & | x, | |||
IntVarArray & | ||||
) | [inline, virtual] |
void Test::Set::Rel::RelBin::post | ( | Space * | home, | |
SetVarArray & | x, | |||
IntVarArray & | , | |||
BoolVar | b | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/set/rel.cc (Revision: 6269)