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>
public static interface MinimumCostFlowAlgorithm.MinimumCostFlow<E> extends FlowAlgorithm.Flow<E>
Represents a minimum cost flow.
-
Method Summary
Modifier and Type Method Description double
getCost()
Returns the cost of the flow
-
Method Details
-
getCost
double getCost()Returns the cost of the flow- Returns:
- the cost of the flow
-