Module org.chocosolver
Class AutoDiffDetection
- java.lang.Object
-
- org.chocosolver.solver.constraints.nary.nvalue.amnv.differences.AutoDiffDetection
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
dynamicAdditions
whether 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 boolean
mustBeDifferent(int i1, int i2)
-
-
-
Constructor Detail
-
AutoDiffDetection
public AutoDiffDetection(Variable[] scope)
-
-
Method Detail
-
mustBeDifferent
public boolean mustBeDifferent(int i1, int i2)
- Specified by:
mustBeDifferent
in interfaceD
- Returns:
- true iff var[i1] and var[i2] must be different
-
-