|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface GraphNode
A generic interface for graph nodes. All graph utilities should be defined in terms of this interface, and all graph implementations should make sure their nodes implement this interface.
Graph,
GraphEdge,
GraphUtilities| Method Summary | |
|---|---|
int |
getIndex()
The index of this node in its graph. |
GraphNodeEnumeration |
inNodes()
Get an enumeration of all the edges at which edges that point to this node are sourced. |
GraphNodeEnumeration |
outNodes()
Get an enumeration of all the edges to which edges sourced at this node point. |
void |
setIndex(int i)
|
| Methods inherited from interface org.jikesrvm.compilers.opt.util.GraphElement |
|---|
getScratch, setScratch |
| Method Detail |
|---|
GraphNodeEnumeration outNodes()
GraphNodeEnumeration inNodes()
int getIndex()
Graph.compactNodeNumbering the nodes of a graph should be
numbered 0 thru (# of nodes in graph - 1).
void setIndex(int i)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||