|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 node to the graph. |
void |
compactNodeNumbering()
Implementation for Graph Interface. |
GraphNodeEnumeration |
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 Graphpublic void compactNodeNumbering()
compactNodeNumbering in interface Graphpublic GraphNodeEnumeration enumerateNodes()
enumerateNodes in interface GraphGraphNodepublic void addGraphNode(GraphNode x)
addGraphNode in interface Graphx - the node to add
public void addGraphEdge(GraphNode x,
GraphNode y)
addGraphEdge in interface Graphx - 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 | ||||||||||