Test::Int::GCC::VarAll Class Reference
[Counting constraints (global cardinality)]
Test for variable cardinality for all cardinality values More...
Public Member Functions | |
| VarAll (Gecode::IntPropLevel ipl) | |
| Create and register test. | |
| virtual bool | solution (const Assignment &x) const |
| Test whether x is solution | |
| virtual void | post (Gecode::Space &home, Gecode::IntVarArray &xy) |
| Post constraint on xy. | |
Static Protected Attributes | |
| static const int | n = 4 |
| Number of non-cardinality variables. | |
Detailed Description
Test for variable cardinality for all cardinality values
Definition at line 179 of file gcc.cpp.
Constructor & Destructor Documentation
| Test::Int::GCC::VarAll::VarAll | ( | Gecode::IntPropLevel | ipl | ) | [inline] |
Member Function Documentation
| virtual bool Test::Int::GCC::VarAll::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::GCC::VarAll::post | ( | Gecode::Space & | home, | |
| Gecode::IntVarArray & | xy | |||
| ) | [inline, virtual] |
Member Data Documentation
const int Test::Int::GCC::VarAll::n = 4 [static, protected] |
The documentation for this class was generated from the following file:
- test/int/gcc.cpp
