Test::CpltSet::Cardinality::CpltSetCardMinMax Class Reference
[Cardinality constraints]
Inherits Test::CpltSet::CpltSetTest.
Detailed Description
Test for simple cardinality range constraint.Definition at line 63 of file cardinality.cc.
Public Member Functions | |
CpltSetCardMinMax (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::Cardinality::CpltSetCardMinMax::CpltSetCardMinMax | ( | const char * | t | ) | [inline] |
Member Function Documentation
virtual bool Test::CpltSet::Cardinality::CpltSetCardMinMax::solution | ( | const SetAssignment & | x | ) | const [inline, virtual] |
Test whether x is solution.
Implements Test::CpltSet::CpltSetTest.
Definition at line 68 of file cardinality.cc.
virtual void Test::CpltSet::Cardinality::CpltSetCardMinMax::post | ( | Space * | home, | |
CpltSetVarArray & | x, | |||
IntVarArray & | ||||
) | [inline, virtual] |
Post constraint on x.
Implements Test::CpltSet::CpltSetTest.
Definition at line 80 of file cardinality.cc.
The documentation for this class was generated from the following file:
- test/cpltset/cardinality.cc (Revision: 6102)