T - Any comparable classpublic class TarjanStronglyConnectedComponentFinder<T extends java.lang.Comparable<? super T>>
extends java.lang.Object
| Constructor and Description |
|---|
TarjanStronglyConnectedComponentFinder(DirectedGraph<T> graph) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.util.List<T>> |
detectCycles()
Calculates the sets of strongly connected vertices.
|
public TarjanStronglyConnectedComponentFinder(DirectedGraph<T> graph)
public java.util.Collection<java.util.List<T>> detectCycles()
Copyright © 2000-2019 Sualeh Fatehi. All rights reserved.