Post constraint on \a x
| 138 | } |
| 139 | /// Post constraint on \a x |
| 140 | virtual void post(Space& home, SetVarArray& x, IntVarArray&) { |
| 141 | IntSetArgs xs(3); |
| 142 | xs[0] = i0; xs[1] = i1; xs[2] = i2; |
| 143 | Gecode::element(home, SOT_UNION, xs, x[0], x[1]); |
| 144 | } |
| 145 | }; |
| 146 | ElementUnionConst _elementunionconst("Element::UnionConst"); |
| 147 |