public class SCCSearch<T>
extends java.lang.Object
| Constructor and Description |
|---|
SCCSearch() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.List<T>> |
findSCC(IDirectedGraph<T> graph,
boolean strict)
Find the strongly connected components of a graph.
|
public java.util.List<java.util.List<T>> findSCC(IDirectedGraph<T> graph, boolean strict)
contents - An iterator over the graph's nodes.advisor - Provides informations about the graphs edges.strict - whether elementary (size 1) sccs should be added to the result