-
- Type Parameters:
E- graph edge type
- All Known Subinterfaces:
MaximumFlowAlgorithm.MaximumFlow<E>,MinimumCostFlowAlgorithm.MinimumCostFlow<E>
- All Known Implementing Classes:
FlowAlgorithm.FlowImpl,MaximumFlowAlgorithm.MaximumFlowImpl,MinimumCostFlowAlgorithm.MinimumCostFlowImpl
- Enclosing interface:
- FlowAlgorithm<V,E>
public static interface FlowAlgorithm.Flow<E>Represents a flow.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default doublegetFlow(E edge)Returns the flow on theedgeMap<E,Double>getFlowMap()Returns a mapping from the network flow edges to the corresponding flow values.
-
-
-
Method Detail
-
getFlow
default double getFlow(E edge)
Returns the flow on theedge- Parameters:
edge- an edge from the flow network- Returns:
- the flow on the
edge
-
-