de.grogra.xl.impl.base
Graph.QState, Graph.ThreadDataEXCLUDE_DELETED_FLAG, INTERPRETIVE_FLAG, MODE_MASK, PARALLEL_MODE, PARALLEL_NON_DETERMINISTIC_MODE, SEQUENTIAL_MODE, SEQUENTIAL_NON_DETERMINISTIC_MODE| Constructor and Description |
|---|
GraphImpl(RuntimeModel model) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addEdgeBits(java.lang.Object source,
java.lang.Object target,
int bits)
Adds a set of edge bits from a
source node
to a target node. |
abstract void |
addNode(java.lang.Object node)
Adds a node to this graph extent.
|
java.lang.Object |
createInterpretiveMark() |
GraphQueue |
createQueue(QueueCollection qc,
QueueDescriptor descr) |
abstract void |
removeEdgeBits(java.lang.Object source,
java.lang.Object target,
int bits)
Removes a set of edge bits from a
source node
to a target node. |
void |
removeNode(java.lang.Object node) |
allowNoninjectiveMatchesByDefault, allowNoninjectiveMatchesForNextQuery, areComparableScales, beginModifications, canEnumerateNodes, commitModifications, createMatcher, createQueryState, createThreadData, derive, enumerateEdges, enumerateSpaces, getDerivationMode, getMinimumEncoarseDepthDiff, getModel, getPredecessor, getQueues, getScaleValue, getThreadData, getTypeNode, getTypeNode, isInTypeGraph, isSameScale, setDerivationMode, sortedTypeGraphclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanEnumerateEdges, createProducer, enumerateNodes, getRoot, getTypeRootpublic GraphImpl(RuntimeModel model)
public abstract void addEdgeBits(java.lang.Object source,
java.lang.Object target,
int bits)
source node
to a target node. This method is invoked
within the right hand sides of XL productions ==>>,
==>.source - the source node of the edgetarget - the target node of the edgebits - the edge bits that are to be addedpublic abstract void addNode(java.lang.Object node)
addEdgeBits(java.lang.Object, java.lang.Object, int).
Implementations may perform tasks in preparation of the addition
of edges, if necessary.node - the node for which edges will be added later onpublic java.lang.Object createInterpretiveMark()
public GraphQueue createQueue(QueueCollection qc, QueueDescriptor descr)
createQueue in class Graphpublic abstract void removeEdgeBits(java.lang.Object source,
java.lang.Object target,
int bits)
source node
to a target node. This method is invoked
within the right hand sides of XL productions ==>>,
==>.source - the source node of the edgetarget - the target node of the edgebits - the edge bits that are to be removedpublic void removeNode(java.lang.Object node)