Sequence constraints
[Using integer variables and constraints]
Functions | |
void | Gecode::sequence (Home home, const IntVarArgs &x, const IntSet &s, int q, int l, int u, IntPropLevel ipl=IPL_DEF) |
Post propagator for . | |
void | Gecode::sequence (Home home, const BoolVarArgs &x, const IntSet &s, int q, int l, int u, IntPropLevel ipl=IPL_DEF) |
Post propagator for . |
Function Documentation
void Gecode::sequence | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntSet & | s, | |||
int | q, | |||
int | l, | |||
int | u, | |||
IntPropLevel | ipl = IPL_DEF | |||
) |
Post propagator for .
Posts a domain consistent propagator for the constraint where the among constraint is defined as .
Throws the following exceptions:
- Of type Int::TooFewArguments, if .
- Of type Int::ArgumentSame, if x contains the same unassigned variable multiply.
- Of type Int::OutOfRange, if .
void Gecode::sequence | ( | Home | home, | |
const BoolVarArgs & | x, | |||
const IntSet & | s, | |||
int | q, | |||
int | l, | |||
int | u, | |||
IntPropLevel | ipl = IPL_DEF | |||
) |
Post propagator for .
Posts a domain consistent propagator for the constraint where the among constraint is defined as .
Throws the following exceptions:
- Of type Int::TooFewArguments, if .
- Of type Int::ArgumentSame, if x contains the same unassigned variable multiply.
- Of type Int::OutOfRange, if .