Module org.jgrapht.core
Package org.jgrapht.alg.interfaces
Interface MinimumCostFlowAlgorithm.MinimumCostFlow<E>
- Type Parameters:
E
- graph edge type
- All Superinterfaces:
FlowAlgorithm.Flow<E>
- All Known Implementing Classes:
MinimumCostFlowAlgorithm.MinimumCostFlowImpl
- Enclosing interface:
- MinimumCostFlowAlgorithm<V,
E>
Represents a minimum cost flow.
-
Method Summary
Methods inherited from interface org.jgrapht.alg.interfaces.FlowAlgorithm.Flow
getFlow, getFlowMap
-
Method Details
-
getCost
double getCost()Returns the cost of the flow- Returns:
- the cost of the flow
-