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