Documentation of 'org.jgrapht.graph.builder.UndirectedWeightedGraphBuilder' Java class
UndirectedWeightedGraphBuilder
org.jgrapht.graph.builder

Class UndirectedWeightedGraphBuilder<V,E,G extends UndirectedGraph<V,E> & WeightedGraph<V,E>>

    • Constructor Detail

      • UndirectedWeightedGraphBuilder

        public UndirectedWeightedGraphBuilder(G baseGraph)
        Creates a builder based on baseGraph. baseGraph must be mutable.

        The recomended way to use this constructor is: new UndirectedWeightedGraphBuilder<...>(new YourGraph<...>(...)).

        NOTE: baseGraph should not be an existing graph. If you want to add an existing graph to the graph being built, you should use the AbstractGraphBuilder.addVertex(Object) method.

        Parameters:
        baseGraph - the graph object to base building on

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.