Class Gci
- java.lang.Object
-
- org.chocosolver.util.objects.graphs.UndirectedGraph
-
- org.chocosolver.solver.constraints.nary.nvalue.amnv.graph.G
-
- org.chocosolver.solver.constraints.nary.nvalue.amnv.graph.Gi
-
- org.chocosolver.solver.constraints.nary.nvalue.amnv.graph.Gci
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
intersect(int i, int j)
-
Methods inherited from class org.chocosolver.solver.constraints.nary.nvalue.amnv.graph.Gi
build, update, update
-
Methods inherited from class org.chocosolver.util.objects.graphs.UndirectedGraph
addEdge, addNode, edgeExists, getNbMaxNodes, getNeighOf, getNodes, getPredOrNeighOf, getSuccOrNeighOf, getType, isArcOrEdge, isDirected, removeEdge, removeNode, toString
-
-
-
-
Constructor Detail
-
Gci
public Gci(IntVar[] X, D D)
Creates the constrained intersection graph of X and D- Parameters:
X
- integer variablesD
- set of difference constraints
-
Gci
public Gci(IntVar[] X)
Creates the constrained intersection graph of X and D by automatically detecting disequalities and allDifferent constraints.- Parameters:
X
- integer variables
-
-