G - The type of the graph.E - The type of edges of the graph.N - The type of nodes of the graph.public interface CycleCallback<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
CycleSearch class to notify the
caller about cycles.| Modifier and Type | Method and Description |
|---|---|
void |
cycleFound(java.util.List<N> nodes,
java.util.List<E> edges)
This methods gets executed once for each cycle found
|
void cycleFound(java.util.List<N> nodes, java.util.List<E> edges)
nodes - List of nodes which form the cycle.edges - List of edges which form the cycle, the first edge in this list will be between the first and
the second node from the node list.