de.grogra.xl.impl.simple
public class RuntimeModel extends RuntimeModel
BRANCH_EDGE, branchIn, CONTAINMENT_EDGE, CONTAINMENT_END_EDGE, copyIn, copyInNoRefine, copyOut, copyOutNoRefine, MARK_EDGE, MIN_NORMAL_BIT_INDEX, MIN_USER_EDGE, REFINEMENT_EDGE, SPECIAL_MASK, SUCCESSOR_EDGE| Constructor and Description |
|---|
RuntimeModel() |
| Modifier and Type | Method and Description |
|---|---|
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. |
EdgeIterator |
createEdgeIterator(java.lang.Object node,
EdgeDirection dir)
Creates an iterator over the edges of
node. |
int |
getEdgeBits(java.lang.Object source,
java.lang.Object target)
Return the edge bits between a
source node and a
target node. |
java.lang.Class |
getNodeType()
Specifies the base type of nodes of this runtime model.
|
currentGraph, edgeBitsIntersection, edgeBitsRemove, edgeBitsUnion, getStandardEdgeFor, initialize, isNode, isWrapperFor, setCurrentGraph, testEdgeBits, unwrapBoolean, unwrapByte, unwrapChar, unwrapDouble, unwrapFloat, unwrapInt, unwrapLong, unwrapObject, unwrapShortpublic void addEdgeBits(java.lang.Object source,
java.lang.Object target,
int bits)
RuntimeModelsource node
to a target node.addEdgeBits in class RuntimeModelsource - the source node of the edgetarget - the target node of the edgebits - the edge bits that are to be addedpublic EdgeIterator createEdgeIterator(java.lang.Object node, EdgeDirection dir)
RuntimeModelnode. The iterator
is set to the first edge of the node, if any. The direction dir
has to be respected by the iterator.createEdgeIterator in class RuntimeModelnode - the node whose edges are to be iterateddir - direction in which edges are traversed (seen from node)public int getEdgeBits(java.lang.Object source,
java.lang.Object target)
RuntimeModelsource node and a
target node. If there is no edge at all, 0 is returned.getEdgeBits in class RuntimeModelsource - the source node of the edgetarget - the target node of the edgepublic java.lang.Class getNodeType()
RuntimeModelCompiletimeModel.getNodeType()
for the corresponding CompiletimeModel implementation.getNodeType in class RuntimeModel