
Functions | |
| void | Gecode::distinct (Home home, const IntVarArgs &x, IntPropLevel ipl=IPL_DEF) |
Post propagator for for all . More... | |
| void | Gecode::distinct (Home home, const IntArgs &n, const IntVarArgs &x, IntPropLevel ipl=IPL_DEF) |
Post propagator for for all . More... | |
| void | Gecode::distinct (Home home, const BoolVarArgs &b, const IntVarArgs &x, IntPropLevel ipl=IPL_DEF) |
Post propagator for for all . More... | |
| void | Gecode::distinct (Home home, const IntVarArgs &x, int c, IntPropLevel ipl=IPL_DEF) |
Post propagator for for all . More... | |
| void Gecode::distinct | ( | Home | home, |
| const IntVarArgs & | x, | ||
| IntPropLevel | ipl = IPL_DEF |
||
| ) |
Post propagator for
for all
.
Supports value (ipl = IPL_VAL, default), bounds (ipl = IPL_BND), and domain consistency (ipl = IPL_DOM).
Throws an exception of type Int::ArgumentSame, if x contains the same unassigned variable multiply.
Definition at line 50 of file distinct.cpp.
| void Gecode::distinct | ( | Home | home, |
| const IntArgs & | n, | ||
| const IntVarArgs & | x, | ||
| IntPropLevel | ipl = IPL_DEF |
||
| ) |
Post propagator for
for all
.
Definition at line 69 of file distinct.cpp.
| void Gecode::distinct | ( | Home | home, |
| const BoolVarArgs & | b, | ||
| const IntVarArgs & | x, | ||
| IntPropLevel | ipl = IPL_DEF |
||
| ) |
Post propagator for
for all
.
and
does not exceed the limits in Int::Limits. Definition at line 101 of file distinct.cpp.
| void Gecode::distinct | ( | Home | home, |
| const IntVarArgs & | x, | ||
| int | c, | ||
| IntPropLevel | ipl = IPL_DEF |
||
| ) |
Post propagator for
for all
.
and
does not exceed the limits in Int::Limits. Definition at line 158 of file distinct.cpp.