Package org.geotools.graph.structure
Interface DirectedEdge
- All Superinterfaces:
DirectedGraphable
,Edge
,Graphable
- All Known Implementing Classes:
BasicDirectedEdge
,OptDirectedEdge
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:
-
Field Summary
Fields inherited from interface Edge
EQUAL_NODE_ORIENTATION, OPPOSITE_NODE_ORIENTATION, UNEQUAL_NODE_ORIENTATION
-
Method Summary
Modifier and TypeMethodDescriptionReturns the originating (in) node of the edge.Returns the terminating (out) node of the edge.Methods inherited from interface DirectedGraphable
getInRelated, getOutRelated
Methods inherited from interface Edge
compareNodes, getNodeA, getNodeB, getOtherNode, reverse
Methods inherited from interface Graphable
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited
-
Method Details
-
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.
-