Test::Int::GCC::IntAllMinMaxDef Class Reference
[Counting constraints (global cardinality)]
Test for integer cardinality with min and max for all variables More...
Public Member Functions | |
IntAllMinMaxDef (Gecode::IntConLevel icl) | |
Create and register test. | |
virtual bool | solution (const Assignment &x) const |
Test whether x is solution | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
Post constraint on x. |
Detailed Description
Test for integer cardinality with min and max for all variables
Definition at line 89 of file gcc.cpp.
Constructor & Destructor Documentation
Test::Int::GCC::IntAllMinMaxDef::IntAllMinMaxDef | ( | Gecode::IntConLevel | icl | ) | [inline] |
Member Function Documentation
virtual bool Test::Int::GCC::IntAllMinMaxDef::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::GCC::IntAllMinMaxDef::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/int/gcc.cpp (Revision: 10684)