org.autopipes.graph
Class GraphUtil.TraversalListener

java.lang.Object
  extended by org._3pq.jgrapht.event.TraversalListenerAdapter
      extended by org.autopipes.graph.GraphUtil.TraversalListener
All Implemented Interfaces:
org._3pq.jgrapht.event.TraversalListener
Enclosing class:
GraphUtil

public static class GraphUtil.TraversalListener
extends org._3pq.jgrapht.event.TraversalListenerAdapter

See Also:
TraversalListenerAdapter

Constructor Summary
GraphUtil.TraversalListener()
           
 
Method Summary
 void edgeTraversed(org._3pq.jgrapht.event.EdgeTraversalEvent ete)
          
 HydroEdge getLastEdge()
          Gets the last edge visited by the iterator.
 
Methods inherited from class org._3pq.jgrapht.event.TraversalListenerAdapter
connectedComponentFinished, connectedComponentStarted, vertexTraversed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphUtil.TraversalListener

public GraphUtil.TraversalListener()
Method Detail

getLastEdge

public HydroEdge getLastEdge()
Gets the last edge visited by the iterator.

Returns:
the edge

edgeTraversed

public void edgeTraversed(org._3pq.jgrapht.event.EdgeTraversalEvent ete)

Specified by:
edgeTraversed in interface org._3pq.jgrapht.event.TraversalListener
Overrides:
edgeTraversed in class org._3pq.jgrapht.event.TraversalListenerAdapter