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