Post constraint on \a x
| 349 | } |
| 350 | /// Post constraint on \a x |
| 351 | virtual void post(Space& home, SetVarArray& x, IntVarArray&) { |
| 352 | if (x.size() == 1) |
| 353 | Gecode::dom(home, x[0], srt, -3); |
| 354 | else |
| 355 | Gecode::dom(home, x, srt, -3); |
| 356 | } |
| 357 | /// Post reified constraint on \a x for \a b |
| 358 | virtual void post(Space& home, SetVarArray& x, IntVarArray&, Reify r) { |
| 359 | assert(x.size() == 1); |