Public Member Functions |
| IntAllMinMax (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.
|
| Test (const std::string &s, int a, const Gecode::IntSet &d, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| Constructor.
|
| Test (const std::string &s, int a, int min, int max, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| Constructor.
|
virtual Assignment * | assignment (void) const |
| Create assignment.
|
virtual bool | ignore (const Assignment &) const |
| Whether to ignore assignment for reification.
|
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::BoolVar b) |
| Post reified constraint.
|
virtual bool | run (void) |
| Perform test.
|
| Base (const std::string &s) |
| Create and register test with name s.
|
const std::string & | name (void) const |
| Return name of test.
|
Base * | next (void) const |
| Return next test.
|
void | next (Base *n) |
| Set next test.
|
virtual | ~Base (void) |
| Destructor.
|
Test for integer cardinality with min and max for all variables
Definition at line 55 of file gcc.cpp.