|
||||||||||
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 Edge s which are inbound to the Vertex . |
Set<E> |
getOutbound(V v)
Returns the set of Edge s 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)
Edge
s which are inbound to the Vertex
.
v
- the Vertex
which inbound Edge
s have to be returned
Edge
s which are inbound to the Vertex
.Set<E> getOutbound(V v)
Edge
s which lead away from the Vertex
.
v
- the Vertex
which outbound Edge
s have to be returned
Edge
s which lead away from the Vertex
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |