org._3pq.jgrapht.event
public interface TraversalListener
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 e)
Called to inform the listener that the specified edge have been visited
during the graph traversal.
|
void |
vertexTraversed(VertexTraversalEvent 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 e)
e
- the edge traversal event.void vertexTraversed(VertexTraversalEvent e)
e
- the vertex traversal event.