|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DirectedGraph<N>
Defines the notion of a directed graph.
| Method Summary | |
|---|---|
List<N> |
getHeads()
Returns a list of entry points for this graph. |
List<N> |
getPredsOf(N s)
Returns a list of predecessors for the given node in the graph. |
List<N> |
getSuccsOf(N s)
Returns a list of successors for the given node in the graph. |
List<N> |
getTails()
Returns a list of exit points for this graph. |
Iterator<N> |
iterator()
Returns an iterator for the nodes in this graph. |
int |
size()
Returns the node count for this graph. |
| Method Detail |
|---|
List<N> getHeads()
List<N> getTails()
List<N> getPredsOf(N s)
List<N> getSuccsOf(N s)
int size()
Iterator<N> iterator()
iterator in interface Iterable<N>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||