Class MinimumCostFlowAlgorithm.MinimumCostFlowImpl<E>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) double cost
      The cost of the flow defined by the mapping flowMap
    • Constructor Summary

      Constructors 
      Constructor Description
      MinimumCostFlowImpl​(double cost, java.util.Map<E,​java.lang.Double> flowMap)
      Constructs a new instance of minimum cost flow
    • Field Detail

      • cost

        double cost
        The cost of the flow defined by the mapping flowMap
    • Constructor Detail

      • MinimumCostFlowImpl

        public MinimumCostFlowImpl​(double cost,
                                   java.util.Map<E,​java.lang.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