Test::CpltSet::Partition::CpltSetPartitionNaryOneBigger Class Reference
[Partition constraints]
Inherits Test::CpltSet::CpltSetTest.
Detailed Description
Test for bigger instance of partition constraint.Definition at line 164 of file partition.cc.
Public Member Functions | |
CpltSetPartitionNaryOneBigger (const char *t) | |
Create and register test. | |
virtual bool | solution (const SetAssignment &x) const |
Test whether x is solution. | |
virtual void | post (Space *home, CpltSetVarArray &x, IntVarArray &) |
Post constraint on x. |
Constructor & Destructor Documentation
Test::CpltSet::Partition::CpltSetPartitionNaryOneBigger::CpltSetPartitionNaryOneBigger | ( | const char * | t | ) | [inline] |
Member Function Documentation
virtual bool Test::CpltSet::Partition::CpltSetPartitionNaryOneBigger::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution.
Implements Test::CpltSet::CpltSetTest.
Definition at line 170 of file partition.cc.
virtual void Test::CpltSet::Partition::CpltSetPartitionNaryOneBigger::post | ( | Space * | home, | |
CpltSetVarArray & | x, | |||
IntVarArray & | ||||
) | [inline, virtual] |
Post constraint on x.
Implements Test::CpltSet::CpltSetTest.
Definition at line 193 of file partition.cc.
The documentation for this class was generated from the following file:
- test/cpltset/partition.cc (Revision: 5228)