public class StoredValuedDirectedMultiGraph extends Object
Modifier and Type | Class and Description |
---|---|
class |
StoredValuedDirectedMultiGraph.Arcs |
class |
StoredValuedDirectedMultiGraph.Nodes |
Modifier and Type | Field and Description |
---|---|
StoredValuedDirectedMultiGraph.Arcs |
GArcs |
StoredValuedDirectedMultiGraph.Nodes |
GNodes |
StoredIndexedBipartiteSet |
inGraph |
BitSet |
inStack |
int[][] |
layers |
int |
sourceIndex |
int |
tinkIndex |
gnu.trove.stack.TIntStack |
toUpdateLeft |
gnu.trove.stack.TIntStack |
toUpdateRight |
Constructor and Description |
---|
StoredValuedDirectedMultiGraph(IEnvironment environment,
org.jgrapht.graph.DirectedMultigraph<Node,Arc> graph,
int[][] layers,
int[] starts,
int[] offsets,
int supportLength) |
Modifier and Type | Method and Description |
---|---|
void |
clearInStack(int idx)
Clear the idx th bit of the to be removed bitset
|
StoredIndexedBipartiteSetWithOffset |
getSupport(int i,
int j) |
void |
initPathInfo() |
boolean |
isNotInStack(int idx)
Getter, the idx th bit of the inStack bitSet
|
void |
removeArc(int arcId,
gnu.trove.stack.TIntStack toRemove,
Propagator<IntVar> propagator,
ICause aCause) |
void |
setInStack(int idx)
Set the idx th bit of the to be removed bitset
|
void |
updateLeft(int nid,
gnu.trove.stack.TIntStack toRemove,
Propagator<IntVar> propagator) |
void |
updateRight(int nid,
gnu.trove.stack.TIntStack toRemove,
Propagator<IntVar> propagator) |
public int sourceIndex
public int tinkIndex
public int[][] layers
public BitSet inStack
public StoredIndexedBipartiteSet inGraph
public gnu.trove.stack.TIntStack toUpdateLeft
public gnu.trove.stack.TIntStack toUpdateRight
public StoredValuedDirectedMultiGraph.Nodes GNodes
public StoredValuedDirectedMultiGraph.Arcs GArcs
public StoredValuedDirectedMultiGraph(IEnvironment environment, org.jgrapht.graph.DirectedMultigraph<Node,Arc> graph, int[][] layers, int[] starts, int[] offsets, int supportLength)
public void initPathInfo()
public final StoredIndexedBipartiteSetWithOffset getSupport(int i, int j)
public void removeArc(int arcId, gnu.trove.stack.TIntStack toRemove, Propagator<IntVar> propagator, ICause aCause) throws ContradictionException
ContradictionException
public void updateRight(int nid, gnu.trove.stack.TIntStack toRemove, Propagator<IntVar> propagator)
public void updateLeft(int nid, gnu.trove.stack.TIntStack toRemove, Propagator<IntVar> propagator)
public final boolean isNotInStack(int idx)
idx
- the index of the arcpublic final void setInStack(int idx)
idx
- the index of the bitpublic final void clearInStack(int idx)
idx
- the index of the bitCopyright © 2018. All rights reserved.