public class StronglyConnectedComponentDetector<T>
extends java.lang.Object
This algorithm allows to detect all cycles in dependencies that prevent topological sorting.
This detector evaluates the graph lazily and won't reflect the modifications in the graph after initial evaluation.
| Constructor and Description |
|---|
StronglyConnectedComponentDetector(com.google.common.graph.Graph<T> graph) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.util.Set<T>> |
getComponents() |