Value precedence constraints over integer variables
[Using integer variables and constraints]
Functions | |
void | Gecode::precede (Home home, const IntVarArgs &x, int s, int t, IntPropLevel=IPL_DEF) |
Post propagator that s precedes t in x. | |
void | Gecode::precede (Home home, const IntVarArgs &x, const IntArgs &c, IntPropLevel=IPL_DEF) |
Post propagator that successive values in c precede each other in x. |
Function Documentation
void Gecode::precede | ( | Home | home, | |
const IntVarArgs & | x, | |||
int | s, | |||
int | t, | |||
IntPropLevel | = IPL_DEF | |||
) |
Post propagator that s precedes t in x.
This constraint enforces that and for . The propagator is domain consistent.
void Gecode::precede | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntArgs & | c, | |||
IntPropLevel | = IPL_DEF | |||
) |
Post propagator that successive values in c precede each other in x.
This constraint enforces that for and for and .