shh.util
Interface StronglyConn.Graph

Enclosing interface:
StronglyConn

public static interface StronglyConn.Graph

A directed graph, defined purely by local conditions. The vertices and edges can be any objects, as long as Object.equals(java.lang.Object) works properly on them.


Method Summary
 Object getEndingVertex(Object e)
          The ending vertex of edge e.
 Iterator iterEdgesFrom(Object v)
          Returns an Iterator over all the edges that start at v.
 Iterator iterVertices()
          Returns an Iterator over all the vertices.
 

Method Detail

iterVertices

public Iterator iterVertices()
Returns an Iterator over all the vertices.


iterEdgesFrom

public Iterator iterEdgesFrom(Object v)
Returns an Iterator over all the edges that start at v.


getEndingVertex

public Object getEndingVertex(Object e)
The ending vertex of edge e.