- 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build()
Initialises the graphprotected boolean
intersect(int i, int j)
void
update()
Updates the graphvoid
update(int i)
-
Methods inherited from class org.chocosolver.util.objects.graphs.UndirectedGraph
addEdge, addNode, edgeExists, getNbMaxNodes, getNeighOf, getNodes, getPredOrNeighOf, getSuccOrNeighOf, getType, isArcOrEdge, isDirected, removeEdge, removeNode, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.chocosolver.util.objects.graphs.IGraph
graphVizExport
-
-
-
-
Field Detail
-
X
protected IntVar[] X
-
-
Constructor Detail
-
Gi
public Gi(IntVar[] X)
Creates the intersection graph of X- Parameters:
X
- integer variable
-
-