Class AbstractCapacitatedMinimumSpanningTree<V,​E>

    • Constructor Detail

      • AbstractCapacitatedMinimumSpanningTree

        protected AbstractCapacitatedMinimumSpanningTree​(Graph<V,​E> graph,
                                                         V root,
                                                         double capacity,
                                                         java.util.Map<V,​java.lang.Double> demands)
        Construct a new abstract capacitated minimum spanning tree algorithm.
        Parameters:
        graph - the base graph to calculate the capacitated spanning tree for
        root - the root of the capacitated spanning tree
        capacity - the edge capacity constraint
        demands - the demands of the vertices