Post constraint on \a x
| 473 | } |
| 474 | /// Post constraint on \a x |
| 475 | virtual void post(Space& home, SetVarArray& x, IntVarArray&) { |
| 476 | if (x.size() == 1) |
| 477 | Gecode::cardinality(home, x[0], 2, 3); |
| 478 | else |
| 479 | Gecode::cardinality(home, x, 2, 3); |
| 480 | } |
| 481 | }; |
| 482 | |
| 483 | DomRange _domrange_eq1(SRT_EQ,1); |
nothing calls this directly
no test coverage detected