| 46 | |
| 47 | |
| 48 | inline ExecStatus |
| 49 | EqIte::post(Home home, IntView x0, IntView x1, int c0, int c1) { |
| 50 | assert(!(x0.assigned() && (x0.val() == c0)) && x0.in(c0)); |
| 51 | GECODE_ME_CHECK(x1.lq(home,std::max(x0.max(),c1))); |
| 52 | GECODE_ME_CHECK(x1.gq(home,std::min(x0.min(),c1))); |
| 53 | (void) new (home) EqIte(home,x0,x1,c0,c1); |
| 54 | return ES_OK; |
| 55 | } |
| 56 | |
| 57 | }}} |
| 58 |