
Test number of equal integers equal to integer variable More...
Public Member Functions | |
| IntVar (Gecode::IntRelType irt0) | |
| 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. | |
Protected Attributes | |
| Gecode::IntRelType | irt |
| Integer relation type to propagate. | |
| Test::Int::Count::IntVar::IntVar | ( | Gecode::IntRelType | irt0 | ) | [inline] |
| virtual bool Test::Int::Count::IntVar::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::Count::IntVar::post | ( | Gecode::Space & | home, |
| Gecode::IntVarArray & | x | ||
| ) | [inline, virtual] |
Gecode::IntRelType Test::Int::Count::IntVar::irt [protected] |