Distinct constraints
[Using finite domain integers]
Collaboration diagram for Distinct constraints:
|
Functions | |
| static synchronized void | org::gecode::Gecode.distinct (JavaSpace home, VarArray<?extends IntVar > x, IntConLevel icl) |
Post propagator for for all . | |
| static synchronized void | org::gecode::Gecode.distinct (JavaSpace home, VarArray<?extends IntVar > x) |
Post propagator for for all . | |
| static synchronized void | org::gecode::Gecode.distinct (JavaSpace home, int[] n, VarArray<?extends IntVar > x, IntConLevel icl) |
Post propagator for for all . | |
| static synchronized void | org::gecode::Gecode.distinct (JavaSpace home, int[] n, VarArray<?extends IntVar > x) |
Post propagator for for all . | |
Function Documentation
| static synchronized void org.gecode.Gecode.distinct | ( | JavaSpace | home, | |
| VarArray<?extends IntVar > | x, | |||
| IntConLevel | icl | |||
| ) | [static, inherited] |
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 variable multiply.
Definition at line 623 of file Gecode.java.
| static synchronized void org.gecode.Gecode.distinct | ( | JavaSpace | home, | |
| VarArray<?extends IntVar > | x | |||
| ) | [static, inherited] |
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 variable multiply.
Definition at line 636 of file Gecode.java.
| static synchronized void org.gecode.Gecode.distinct | ( | JavaSpace | home, | |
| int[] | n, | |||
| VarArray<?extends IntVar > | x, | |||
| IntConLevel | icl | |||
| ) | [static, inherited] |
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.NumericalOverflow, if the integers in n exceed the limits in Limits.Int.
- Throws an exception of type Int.ArgumentSizeMismatch, if x and n are of different size.
- Throws an exception of type Int.ArgumentSame, if x contains the same variable multiply.
Definition at line 651 of file Gecode.java.
| static synchronized void org.gecode.Gecode.distinct | ( | JavaSpace | home, | |
| int[] | n, | |||
| VarArray<?extends IntVar > | x | |||
| ) | [static, inherited] |
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.NumericalOverflow, if the integers in n exceed the limits in Limits.Int.
- Throws an exception of type Int.ArgumentSizeMismatch, if x and n are of different size.
- Throws an exception of type Int.ArgumentSame, if x contains the same variable multiply.
Definition at line 666 of file Gecode.java.
