%Test whether \a x is solution
| 117 | : SetTest(t,1,ds_33,false,1) {} |
| 118 | /// %Test whether \a x is solution |
| 119 | virtual bool solution(const SetAssignment& x) const { |
| 120 | CountableSetRanges xr0(x.lub, x[0]); |
| 121 | return !(xr0() && xr0.min()==x.intval()); |
| 122 | } |
| 123 | /// Post constraint on \a x |
| 124 | virtual void post(Space& home, SetVarArray& x, IntVarArray& y) { |
| 125 | Gecode::notMin(home, x[0], y[0]); |