|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.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)
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 added
public 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 edge
public java.lang.Class getNodeType()
RuntimeModelCompiletimeModel.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 | |||||||