public class Gci extends Gi
Constructor and Description |
---|
Gci(IntVar[] X)
Creates the constrained intersection graph of X and D
by automatically detecting disequalities and alldifferent constraints.
|
Gci(IntVar[] X,
D D)
Creates the constrained intersection graph of X and D
|
Modifier and Type | Method and Description |
---|---|
void |
duplicate(Solver solver,
gnu.trove.map.hash.THashMap<Object,Object> identitymap) |
protected boolean |
intersect(int i,
int j) |
build, update, update
addEdge, addNode, edgeExists, getNbMaxNodes, getNeighOf, getNodes, getPredOrNeighOf, getSuccOrNeighOf, getType, isArcOrEdge, isDirected, removeEdge, removeNode, toString
public Gci(IntVar[] X, D D)
X
- integer variablesD
- set of difference constraintspublic Gci(IntVar[] X)
X
- integer variablesCopyright © 2015. All rights reserved.