Test for n-ary partition constraint More...
Public Member Functions | |
RelIntN (Gecode::SetOpType sot0, int n0, bool withConst0) | |
Create and register test. | |
bool | solution (const SetAssignment &x) const |
Test whether x is solution | |
void | post (Space &home, SetVarArray &x, IntVarArray &y) |
Post constraint on x. |
Test for n-ary partition constraint
Test::Set::RelOp::RelIntN::RelIntN | ( | Gecode::SetOpType | sot0, |
int | n0, | ||
bool | withConst0 | ||
) | [inline] |
Create and register test.
Definition at line 376 of file rel-op.cpp.
bool Test::Set::RelOp::RelIntN::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Set::SetTest.
Definition at line 383 of file rel-op.cpp.
void Test::Set::RelOp::RelIntN::post | ( | Space & | home, |
SetVarArray & | x, | ||
IntVarArray & | y | ||
) | [inline, virtual] |