E
- graph edge typepublic static class MinimumCostFlowAlgorithm.MinimumCostFlowImpl<E> extends FlowAlgorithm.FlowImpl<E> implements MinimumCostFlowAlgorithm.MinimumCostFlow<E>
MinimumCostFlowAlgorithm.MinimumCostFlow
Constructor and Description |
---|
MinimumCostFlowImpl(double cost,
Map<E,Double> flowMap)
Constructs a new instance of minimum cost flow
|
Modifier and Type | Method and Description |
---|---|
double |
getCost()
Returns the cost of the flow
|
getFlowMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFlow, getFlowMap
public double getCost()
getCost
in interface MinimumCostFlowAlgorithm.MinimumCostFlow<E>
Copyright © 2018. All rights reserved.