|
SandMark version 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.util.controlflowgraph.GraphNode
GraphNode represents a node in a Graph.
Field Summary | |
protected Graph |
container
|
int |
mBlockNum
|
protected int |
postIndex
|
protected java.util.ArrayList |
predecessors
|
protected int |
preIndex
|
(package private) static int |
sBlockNum
|
protected java.util.ArrayList |
successors
|
Constructor Summary | |
GraphNode()
Constructor. |
Method Summary | |
java.util.ArrayList |
getPredessors()
Returns the predessor nodes of this node. |
java.util.ArrayList |
getSuccessors()
Returns the successor nodes of this node. |
Graph |
graph()
|
(package private) int |
postOrderIndex()
|
(package private) int |
preOrderIndex()
|
void |
setGraph(Graph g)
Set the graph that contains this node |
(package private) void |
setPostOrderIndex(int index)
|
(package private) void |
setPreOrderIndex(int index)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.ArrayList successors
protected java.util.ArrayList predecessors
protected int preIndex
protected int postIndex
protected Graph container
static int sBlockNum
public int mBlockNum
Constructor Detail |
public GraphNode()
Method Detail |
public Graph graph()
public void setGraph(Graph g)
int preOrderIndex()
int postOrderIndex()
void setPreOrderIndex(int index)
void setPostOrderIndex(int index)
public java.util.ArrayList getSuccessors()
public java.util.ArrayList getPredessors()
|
SandMark version 2.1 Wed Jul 3 17:27:43 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |