org.geotools.graph.traverse.basic
Class SourceGraphIterator

java.lang.Object
  extended byorg.geotools.graph.traverse.basic.AbstractGraphIterator
      extended byorg.geotools.graph.traverse.basic.SourceGraphIterator
All Implemented Interfaces:
GraphIterator
Direct Known Subclasses:
BreadthFirstIterator, DijkstraIterator, NoBifurcationIterator

public abstract class SourceGraphIterator
extends AbstractGraphIterator

A GraphIterator that starts iteration from a specefied point.

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

Constructor Summary
SourceGraphIterator()
           
 
Method Summary
 Graphable getSource()
          Returns the source of the iteration.
 void setSource(Graphable source)
          Sets the source for the iteration.
 
Methods inherited from class org.geotools.graph.traverse.basic.AbstractGraphIterator
getGraph, getTraversal, getWalker, setTraversal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.graph.traverse.GraphIterator
cont, init, killBranch, next
 

Constructor Detail

SourceGraphIterator

public SourceGraphIterator()
Method Detail

setSource

public void setSource(Graphable source)
Sets the source for the iteration.

Parameters:
source - The source of the iteration.

getSource

public Graphable getSource()
Returns the source of the iteration.

Returns:
The source of the iteration.


Copyright © GeoTools. All Rights Reserved.