|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.xl.impl.base.RuntimeModel de.grogra.xl.impl.simple.RuntimeModel
public class RuntimeModel
Field Summary |
---|
Fields inherited from class de.grogra.xl.impl.base.RuntimeModel |
---|
BRANCH_EDGE, branchIn, CONTAINMENT_EDGE, CONTAINMENT_END_EDGE, copyIn, copyOut, MARK_EDGE, MIN_NORMAL_BIT_INDEX, MIN_USER_EDGE, REFINEMENT_EDGE, SPECIAL_MASK, SUCCESSOR_EDGE |
Constructor Summary | |
---|---|
RuntimeModel()
|
Method Summary | |
---|---|
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. |
Methods inherited from class de.grogra.xl.impl.base.RuntimeModel |
---|
currentGraph, edgeBitsIntersection, edgeBitsUnion, getStandardEdgeFor, initialize, isNode, isWrapperFor, setCurrentGraph, testEdgeBits, unwrapBoolean, unwrapByte, unwrapChar, unwrapDouble, unwrapFloat, unwrapInt, unwrapLong, unwrapObject, unwrapShort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimeModel()
Method Detail |
---|
public void addEdgeBits(java.lang.Object source, java.lang.Object target, int bits)
RuntimeModel
source
node
to a target
node.
addEdgeBits
in class RuntimeModel
source
- 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)
RuntimeModel
node
. 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 RuntimeModel
node
- 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)
RuntimeModel
source
node and a
target
node. If there is no edge at all, 0 is returned.
getEdgeBits
in class RuntimeModel
source
- the source node of the edgetarget
- the target node of the edge
public java.lang.Class getNodeType()
RuntimeModel
CompiletimeModel.getNodeType()
for the corresponding CompiletimeModel
implementation.
getNodeType
in class RuntimeModel
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |