public interface TraversalListener<V,E>
Modifier and Type | Method and Description |
---|---|
void |
connectedComponentFinished(ConnectedComponentTraversalEvent e)
Called to inform listeners that the traversal of the current connected
component has finished.
|
void |
connectedComponentStarted(ConnectedComponentTraversalEvent e)
Called to inform listeners that a traversal of a new connected component
has started.
|
void |
edgeTraversed(EdgeTraversalEvent<V,E> e)
Called to inform the listener that the specified edge have been visited
during the graph traversal.
|
void |
vertexFinished(VertexTraversalEvent<V> e)
Called to inform the listener that the specified vertex have been
finished during the graph traversal.
|
void |
vertexTraversed(VertexTraversalEvent<V> e)
Called to inform the listener that the specified vertex have been visited
during the graph traversal.
|
void connectedComponentFinished(ConnectedComponentTraversalEvent e)
e
- the traversal event.void connectedComponentStarted(ConnectedComponentTraversalEvent e)
e
- the traversal event.void edgeTraversed(EdgeTraversalEvent<V,E> e)
e
- the edge traversal event.void vertexTraversed(VertexTraversalEvent<V> e)
e
- the vertex traversal event.void vertexFinished(VertexTraversalEvent<V> e)
e
- the vertex traversal event.Copyright © 2016. All rights reserved.