org.geotools.graph.traverse.basic
Class StagedGraphTraversal

Object
  extended by BasicGraphTraversal
      extended by StagedGraphTraversal
All Implemented Interfaces:
GraphTraversal

public class StagedGraphTraversal
extends BasicGraphTraversal

TODO: DOCUMENT ME!

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

Field Summary
 
Fields inherited from interface 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 BasicGraphTraversal
getGraph, getIterator, getWalker, setGraph, setIterator, setWalker, traverse
 
Methods inherited from class 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 © 1996-2009 Geotools. All Rights Reserved.