Test::Set::RelOpConst::RelSIS Class Reference
[Relation/operation constraints with constants]
Inherits Test::Set::SetTest.
Detailed Description
Test for set relation constraint with constants.Definition at line 60 of file rel-op-const.cc.
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. | |
Constructor & Destructor Documentation
| Test::Set::RelOpConst::RelSIS::RelSIS | ( | Gecode::SetOpType | sot0, | |
| Gecode::SetRelType | srt0, | |||
| int | intSet, | |||
| bool | inverse0 | |||
| ) | [inline] |
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 98 of file rel-op-const.cc.
| void Test::Set::RelOpConst::RelSIS::post | ( | Space * | home, | |
| SetVarArray & | x, | |||
| IntVarArray & | ||||
| ) | [inline, virtual] |
Post constraint on x.
Implements Test::Set::SetTest.
Definition at line 147 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)
