edu.uci.ics.jung.graph
Interface DirectedEdge
- All Superinterfaces:
- ArchetypeEdge, Cloneable, Edge, Element, UserDataContainer
- All Known Implementing Classes:
- DirectedSparseEdge, GraphCollapser.DirectedCollapsedEdge
public interface DirectedEdge
- extends Edge
A type of Edge
which imposes an ordering on its incident
vertices. A directed edge e
is an ordered pair of
vertices <v1, v2>
which connects its source,
v1
, to its destination, v2
.
Equivalently, e
is an outgoing edge of v1
and an incoming edge of v2
.
- Author:
- Joshua O'Madadhain, Danyel Fisher, Scott White
- See Also:
DirectedGraph
,
UndirectedEdge
,
Vertex
getSource
Vertex getSource()
- Returns the source of this directed edge.
- See Also:
Vertex.isSource(Edge)
getDest
Vertex getDest()
- Returns the destination of this directed edge.
- See Also:
Vertex.isDest(Edge)