Post constraint on \a x
| 159 | } |
| 160 | /// Post constraint on \a x |
| 161 | virtual void post(Space& home, SetVarArray& x, IntVarArray&) { |
| 162 | if (x.size() == 1) |
| 163 | Gecode::dom(home, x[0], srt, is); |
| 164 | else |
| 165 | Gecode::dom(home, x, srt, is); |
| 166 | } |
| 167 | /// Post reified constraint on \a x for \a b |
| 168 | virtual void post(Space& home, SetVarArray& x, IntVarArray&, Reify r) { |
| 169 | assert(x.size() == 1); |