| 47 | |
| 48 | template<class V0, class V1> |
| 49 | ExecStatus |
| 50 | Lq<V0,V1>::post(Home home, V0 x0, V1 x1) { |
| 51 | GECODE_ME_CHECK(x0.lq(home,x1.max())); |
| 52 | GECODE_ME_CHECK(x1.gq(home,x0.min())); |
| 53 | if ((x0 != x1) && (x0.max() > x1.min())) |
| 54 | (void) new (home) Lq<V0,V1>(home,x0,x1); |
| 55 | return ES_OK; |
| 56 | } |
| 57 | |
| 58 | template<class V0, class V1> |
| 59 | forceinline |