|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - the Graph vertices typeE - the Graph edges typepublic interface DirectedGraph<V extends Vertex,E extends Edge<V>>
A DirectedGraph or digraph is an ordered pair D = ( V, E ) with
V a set whose elements are called vertices or nodes, and
E a set of ordered pairs of vertices, called arcs, directed edges, or arrows.
| Method Summary | |
|---|---|
Set<E> |
getInbound(V v)
Returns the set of Edges which are inbound to the Vertex. |
Set<E> |
getOutbound(V v)
Returns the set of Edges which lead away from the Vertex. |
| Methods inherited from interface org.apache.commons.graph.Graph |
|---|
getEdges, getEdges, getVertices, getVertices |
| Method Detail |
|---|
Set<E> getInbound(V v)
Edges which are inbound to the Vertex.
v - the Vertex which inbound Edges have to be returned
Edges which are inbound to the Vertex.Set<E> getOutbound(V v)
Edges which lead away from the Vertex.
v - the Vertex which outbound Edges have to be returned
Edges which lead away from the Vertex.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||