|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.dfsolver.DF_Graph
class DF_Graph
Implementation of a graph used in the guts of the dataflow equation solver.
Field Summary | |
---|---|
private int |
count
Number of nodes in the graph. |
ArrayList<GraphNode> |
nodes
The nodes of the graph. |
Constructor Summary | |
---|---|
DF_Graph()
|
Method Summary | |
---|---|
void |
addGraphEdge(GraphNode x,
GraphNode y)
Unsupported. |
void |
addGraphNode(GraphNode x)
Add a new graph node to the graph. |
void |
compactNodeNumbering()
Implementation for Graph Interface. |
Enumeration<GraphNode> |
enumerateNodes()
Enumerate the nodes in the graph. |
int |
numberOfNodes()
Find out how many nodes are in the graph |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final ArrayList<GraphNode> nodes
private int count
Constructor Detail |
---|
DF_Graph()
Method Detail |
---|
public int numberOfNodes()
Graph
numberOfNodes
in interface Graph
public void compactNodeNumbering()
compactNodeNumbering
in interface Graph
public Enumeration<GraphNode> enumerateNodes()
enumerateNodes
in interface Graph
GraphNode
public void addGraphNode(GraphNode x)
Graph
addGraphNode
in interface Graph
x
- the node to addpublic void addGraphEdge(GraphNode x, GraphNode y)
addGraphEdge
in interface Graph
x
- the source node of the edge to addy
- the target node of the edge to add
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |