| 38 | namespace Gecode { |
| 39 | |
| 40 | void |
| 41 | order(Home home, IntVar s0, int p0, IntVar s1, int p1, BoolVar b, |
| 42 | IntPropLevel) { |
| 43 | using namespace Gecode::Int; |
| 44 | Int::Limits::nonnegative(p0,"Int::order"); |
| 45 | Int::Limits::nonnegative(p1,"Int::order"); |
| 46 | Int::Limits::check(static_cast<long long int>(s0.max()) + p0, |
| 47 | "Int::order"); |
| 48 | Int::Limits::check(static_cast<long long int>(s1.max()) + p1, |
| 49 | "Int::order"); |
| 50 | GECODE_POST; |
| 51 | GECODE_ES_FAIL(Order::OrderProp::post(home,s0,p0,s1,p1,b)); |
| 52 | } |
| 53 | |
| 54 | } |
| 55 |
no test coverage detected