| 48 | |
| 49 | |
| 50 | void |
| 51 | max(Home home, IntVar x0, IntVar x1, IntVar x2, |
| 52 | IntPropLevel ipl) { |
| 53 | using namespace Int; |
| 54 | GECODE_POST; |
| 55 | if (vbd(ipl) == IPL_DOM) { |
| 56 | GECODE_ES_FAIL(Arithmetic::MaxDom<IntView>::post(home,x0,x1,x2)); |
| 57 | } else { |
| 58 | GECODE_ES_FAIL(Arithmetic::MaxBnd<IntView>::post(home,x0,x1,x2)); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | void |
| 63 | max(Home home, const IntVarArgs& x, IntVar y, |
no test coverage detected