
Functions | |
| void | Gecode::distinct (Home home, const IntVarArgs &x, IntConLevel icl=ICL_DEF) |
Post propagator for for all . More... | |
| void | Gecode::distinct (Home home, const IntArgs &n, const IntVarArgs &x, IntConLevel icl=ICL_DEF) |
Post propagator for for all . More... | |
| void Gecode::distinct | ( | Home | home, |
| const IntVarArgs & | x, | ||
| IntConLevel | icl = ICL_DEF |
||
| ) |
Post propagator for
for all
.
Supports value (icl = ICL_VAL, default), bounds (icl = ICL_BND), and domain consistency (icl = ICL_DOM).
Throws an exception of type Int::ArgumentSame, if x contains the same unassigned variable multiply.
Definition at line 47 of file distinct.cpp.
| void Gecode::distinct | ( | Home | home, |
| const IntArgs & | n, | ||
| const IntVarArgs & | x, | ||
| IntConLevel | icl = ICL_DEF |
||
| ) |
Post propagator for
for all
.
Definition at line 65 of file distinct.cpp.