Test::CpltSet::Partition::CpltSetPartitionLex Class Reference
[Partition constraints]
Inherits Test::CpltSet::CpltSetTest.
Detailed Description
Test for partition with lexicographic order constraint.Definition at line 94 of file partition.cc.
Public Member Functions | |
CpltSetPartitionLex (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::CpltSetPartitionLex::CpltSetPartitionLex | ( | const char * | t | ) | [inline] |
Member Function Documentation
virtual bool Test::CpltSet::Partition::CpltSetPartitionLex::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution.
Implements Test::CpltSet::CpltSetTest.
Definition at line 99 of file partition.cc.
virtual void Test::CpltSet::Partition::CpltSetPartitionLex::post | ( | Space * | home, | |
CpltSetVarArray & | x, | |||
IntVarArray & | ||||
) | [inline, virtual] |
Post constraint on x.
Implements Test::CpltSet::CpltSetTest.
Definition at line 121 of file partition.cc.
The documentation for this class was generated from the following file:
- test/cpltset/partition.cc (Revision: 5228)