org.geotools.graph.structure
Interface DirectedGraphable

All Superinterfaces:
Graphable
All Known Subinterfaces:
DirectedEdge, DirectedNode
All Known Implementing Classes:
BasicDirectedEdge, BasicDirectedNode, OptDirectedEdge, OptDirectedNode

public interface DirectedGraphable
extends Graphable

Reperesents a component in a directed graph.

Author:
Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
See Also:
DirectedGraph

Method Summary
 java.util.Iterator getInRelated()
          Returns other components related through an in relationship.
 java.util.Iterator getOutRelated()
          Returns other components related through an out relationship.
 
Methods inherited from interface org.geotools.graph.structure.Graphable
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited
 

Method Detail

getInRelated

public java.util.Iterator getInRelated()
Returns other components related through an in relationship.

Returns:
An iterator over the other directed components related through an in relationship.
See Also:
Graphable.getRelated()

getOutRelated

public java.util.Iterator getOutRelated()
Returns other components related through an out relationship.

Returns:
An iterator over the other directed components related through an out relationship.
See Also:
Graphable.getRelated()


Copyright © GeoTools. All Rights Reserved.