graph
Interface DirectedEdge
- All Superinterfaces:
- Decorable, Position
- All Known Implementing Classes:
- StoredDirectedEdge
- public interface DirectedEdge
- extends Position, Decorable
A directed edge. Other methods could be added, as discussed in
the textbook.
|
Method Summary |
graph.Vertex |
destination()
Vertex where this directed edge ends. |
graph.Vertex |
origin()
Vertex where this directed edge starts. |
origin
public graph.Vertex origin()
- Vertex where this directed edge starts.
destination
public graph.Vertex destination()
- Vertex where this directed edge ends.