org.apache.commons.graph
Interface DirectedGraph

All Superinterfaces:
Graph
All Known Subinterfaces:
MutableDirectedGraph
All Known Implementing Classes:
DDirectedGraph, DirectedGraphImpl, DirectedGraphWrapper, JDependGraph

public interface DirectedGraph
extends Graph

Description of the Interface


Method Summary
 java.util.Set getInbound(Vertex v)
          getInbound( Vertex ) Returns the set of edges which are inbound to the Vertex.
 java.util.Set getOutbound(Vertex v)
          getOutbound( Vertex ) Returns the set of edges which lead away from the Vertex.
 Vertex getSource(Edge e)
          getSource( Edge ) Returns the vertex which originates the edge.
 Vertex getTarget(Edge e)
          getTarget( Edge ) Returns the vertex which terminates the edge.
 
Methods inherited from interface org.apache.commons.graph.Graph
getEdges, getEdges, getVertices, getVertices
 

Method Detail

getInbound

public java.util.Set getInbound(Vertex v)
getInbound( Vertex ) Returns the set of edges which are inbound to the Vertex.


getOutbound

public java.util.Set getOutbound(Vertex v)
getOutbound( Vertex ) Returns the set of edges which lead away from the Vertex.


getSource

public Vertex getSource(Edge e)
getSource( Edge ) Returns the vertex which originates the edge.


getTarget

public Vertex getTarget(Edge e)
getTarget( Edge ) Returns the vertex which terminates the edge.