Element constraints
[Using finite domain integers]
Functions | |
| void | Gecode::element (Space *home, const IntArgs &n, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
Post propagator for . | |
| void | Gecode::element (Space *home, const IntArgs &n, IntVar x0, BoolVar x1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
Post propagator for . | |
| void | Gecode::element (Space *home, const IntArgs &n, IntVar x0, int x1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
Post propagator for . | |
| void | Gecode::element (Space *home, const IntVarArgs &x, IntVar y0, IntVar y1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
Post propagator for . | |
| void | Gecode::element (Space *home, const IntVarArgs &x, IntVar y0, int y1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
Post propagator for . | |
| void | Gecode::element (Space *home, const BoolVarArgs &x, IntVar y0, BoolVar y1, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF) |
Post propagator for . | |
Function Documentation
| void Gecode::element | ( | Space * | home, | |
| const IntArgs & | n, | |||
| IntVar | x0, | |||
| IntVar | x1, | |||
| IntConLevel | icl = ICL_DEF, |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for
.
Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.
Definition at line 45 of file element.cc.
| void Gecode::element | ( | Space * | home, | |
| const IntArgs & | n, | |||
| IntVar | x0, | |||
| BoolVar | x1, | |||
| IntConLevel | icl = ICL_DEF, |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for
.
Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.
Definition at line 57 of file element.cc.
| void Gecode::element | ( | Space * | home, | |
| const IntArgs & | n, | |||
| IntVar | x0, | |||
| int | x1, | |||
| IntConLevel | icl = ICL_DEF, |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for
.
Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.
Definition at line 70 of file element.cc.
| void Gecode::element | ( | Space * | home, | |
| const IntVarArgs & | x, | |||
| IntVar | y0, | |||
| IntVar | y1, | |||
| IntConLevel | icl = ICL_DEF, |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for
.
Supports both bounds (icl = ICL_BND) and domain consistency (icl = ICL_DOM, default).
Definition at line 85 of file element.cc.
| void Gecode::element | ( | Space * | home, | |
| const IntVarArgs & | x, | |||
| IntVar | y0, | |||
| int | y1, | |||
| IntConLevel | icl = ICL_DEF, |
|||
| PropKind | pk = PK_DEF | |||
| ) |
Post propagator for
.
Supports both bounds (icl = ICL_BND) and domain consistency (icl = ICL_DOM, default).
Definition at line 100 of file element.cc.
| void Gecode::element | ( | Space * | home, | |
| const BoolVarArgs & | c, | |||
| IntVar | x0, | |||
| BoolVar | x1, | |||
| IntConLevel | , | |||
| PropKind | ||||
| ) |
