Interface DirectedEdge

  • All Superinterfaces:
    DirectedGraphable, Edge, Graphable
    All Known Implementing Classes:
    BasicDirectedEdge, OptDirectedEdge

    public interface DirectedEdge
    extends Edge, DirectedGraphable
    Represents an edge in a directed graph. A directed edge catagorizes its nodes as originating (in node), and terminating (out node). The edge is an out edge of its in node and an in edge to its out node.
    Author:
    Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
    See Also:
    DirectedGraph
    • Method Detail

      • getInNode

        DirectedNode getInNode()
        Returns the originating (in) node of the edge.
        Returns:
        The directed node at the source of the edge.
      • getOutNode

        DirectedNode getOutNode()
        Returns the terminating (out) node of the edge.
        Returns:
        The directed node at the destination of the edge.