public class TransitiveClosure extends Object
| Modifier and Type | Field and Description |
|---|---|
static TransitiveClosure |
INSTANCE
Singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
<V,E> void |
closeSimpleDirectedGraph(SimpleDirectedGraph<V,E> graph)
Computes the transitive closure of the given graph.
|
public static final TransitiveClosure INSTANCE
public <V,E> void closeSimpleDirectedGraph(SimpleDirectedGraph<V,E> graph)
graph - - Graph to compute transitive closure for.Copyright © 2016. All rights reserved.