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.
 
Methods inherited from interface container.Position
element
 
Methods inherited from interface container.Decorable
get, has, put, remove
 

Method Detail

origin

public graph.Vertex origin()
Vertex where this directed edge starts.


destination

public graph.Vertex destination()
Vertex where this directed edge ends.