org.geotools.graph.traverse.basic
Class StagedGraphTraversal

java.lang.Object
  extended byorg.geotools.graph.traverse.basic.BasicGraphTraversal
      extended byorg.geotools.graph.traverse.basic.StagedGraphTraversal
All Implemented Interfaces:
GraphTraversal

public class StagedGraphTraversal
extends BasicGraphTraversal

TODO: DOCUMENT ME!

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

Field Summary
 
Fields inherited from interface org.geotools.graph.traverse.GraphTraversal
CONTINUE, KILL_BRANCH, STOP, SUSPEND
 
Constructor Summary
StagedGraphTraversal(Graph graph, GraphWalker walker, GraphIterator iterator)
           
 
Method Summary
 void init()
          Resets the visited flag and counts of all nodes of the graph.
 boolean isVisited(Graphable g)
           
 void setVisited(Graphable g, boolean visited)
           
 
Methods inherited from class org.geotools.graph.traverse.basic.BasicGraphTraversal
getGraph, getIterator, getWalker, setGraph, setIterator, setWalker, traverse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StagedGraphTraversal

public StagedGraphTraversal(Graph graph,
                            GraphWalker walker,
                            GraphIterator iterator)
Method Detail

init

public void init()
Description copied from class: BasicGraphTraversal
Resets the visited flag and counts of all nodes of the graph.

Specified by:
init in interface GraphTraversal
Overrides:
init in class BasicGraphTraversal
See Also:
GraphTraversal.init()

isVisited

public boolean isVisited(Graphable g)
Specified by:
isVisited in interface GraphTraversal
Overrides:
isVisited in class BasicGraphTraversal

setVisited

public void setVisited(Graphable g,
                       boolean visited)
Specified by:
setVisited in interface GraphTraversal
Overrides:
setVisited in class BasicGraphTraversal


Copyright © GeoTools. All Rights Reserved.