Class AutoDiffDetection
- java.lang.Object
-
- org.chocosolver.solver.constraints.nary.nvalue.amnv.differences.AutoDiffDetection
-
-
Field Summary
Fields Modifier and Type Field Description static booleandynamicAdditionswhether or not disequality constraints may be added during search
-
Constructor Summary
Constructors Constructor Description AutoDiffDetection(Variable[] scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmustBeDifferent(int i1, int i2)
-
-
-
Constructor Detail
-
AutoDiffDetection
public AutoDiffDetection(Variable[] scope)
-
-
Method Detail
-
mustBeDifferent
public boolean mustBeDifferent(int i1, int i2)- Specified by:
mustBeDifferentin interfaceD- Returns:
- true iff var[i1] and var[i2] must be different
-
-