Class MinimumCostFlowAlgorithm.MinimumCostFlowImpl<E>

java.lang.Object
org.jgrapht.alg.interfaces.FlowAlgorithm.FlowImpl<E>
org.jgrapht.alg.interfaces.MinimumCostFlowAlgorithm.MinimumCostFlowImpl<E>
Type Parameters:
E - graph edge type
All Implemented Interfaces:
FlowAlgorithm.Flow<E>, MinimumCostFlowAlgorithm.MinimumCostFlow<E>
Enclosing interface:
MinimumCostFlowAlgorithm<V,E>

public static class MinimumCostFlowAlgorithm.MinimumCostFlowImpl<E> extends FlowAlgorithm.FlowImpl<E> implements MinimumCostFlowAlgorithm.MinimumCostFlow<E>
Default implementation of the MinimumCostFlowAlgorithm.MinimumCostFlow
  • Constructor Details

    • 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
  • Method Details