org.geotools.graph.structure
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

Field Summary
 
Fields inherited from interface org.geotools.graph.structure.Edge
EQUAL_NODE_ORIENTATION, OPPOSITE_NODE_ORIENTATION, UNEQUAL_NODE_ORIENTATION
 
Method Summary
 DirectedNode getInNode()
          Returns the originating (in) node of the edge.
 DirectedNode getOutNode()
          Returns the terminating (out) node of the edge.
 
Methods inherited from interface org.geotools.graph.structure.Edge
compareNodes, getNodeA, getNodeB, getOtherNode, reverse
 
Methods inherited from interface org.geotools.graph.structure.Graphable
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited
 
Methods inherited from interface org.geotools.graph.structure.DirectedGraphable
getInRelated, getOutRelated
 

Method Detail

getInNode

public DirectedNode getInNode()
Returns the originating (in) node of the edge.

Returns:
The directed node at the source of the edge.

getOutNode

public DirectedNode getOutNode()
Returns the terminating (out) node of the edge.

Returns:
The directed node at the destination of the edge.


Copyright © GeoTools. All Rights Reserved.