Class MinimumCostFlowAlgorithm.MinimumCostFlowImpl<E>

    • Constructor Detail

      • MinimumCostFlowImpl

        public MinimumCostFlowImpl​(double cost,
                                   Map<E,​Double> flowMap)
        Constructs a new instance of minimum cost flow
        Parameters:
        cost - the cost of the flow
        flowMap - the mapping defining the flow on the network