org.geotools.graph.traverse.basic
Class SourceGraphIterator

Object
  extended by AbstractGraphIterator
      extended by SourceGraphIterator
All Implemented Interfaces:
GraphIterator
Direct Known Subclasses:
AStarIterator, 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 AbstractGraphIterator
getGraph, getTraversal, getWalker, setTraversal
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface 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 © 1996-2014 Geotools. All Rights Reserved.