Documentation of 'org.jgrapht.alg.TransitiveClosure' Java class
TransitiveClosure
org.jgrapht.alg

Class TransitiveClosure



  • public class TransitiveClosure
    extends java.lang.Object
    Constructs the transitive closure of the input graph.
    Since:
    May 5, 2007
    • Method Detail

      • closeSimpleDirectedGraph

        public <V,E> void closeSimpleDirectedGraph(SimpleDirectedGraph<V,E> graph)
        Computes the transitive closure of the given graph.
        Type Parameters:
        V - the graph vertex type
        E - the graph edge type
        Parameters:
        graph - - Graph to compute transitive closure for.
      • closeDirectedAcyclicGraph

        public <V,E> void closeDirectedAcyclicGraph(DirectedAcyclicGraph<V,E> graph)
        Computes the transitive closure of a directed acyclic graph in O(n*m)
        Type Parameters:
        V - the graph vertex type
        E - the graph edge type
        Parameters:
        graph - - Graph to compute transitive closure for.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.