Class FlowAlgorithm.FlowImpl<E>
java.lang.Object
org.jgrapht.alg.interfaces.FlowAlgorithm.FlowImpl<E>
- Type Parameters:
E- graph edge type
- All Implemented Interfaces:
FlowAlgorithm.Flow<E>
- Direct Known Subclasses:
MaximumFlowAlgorithm.MaximumFlowImpl, MinimumCostFlowAlgorithm.MinimumCostFlowImpl
- Enclosing interface:
FlowAlgorithm<V,E>
Default implementation of
FlowAlgorithm.Flow-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a mapping from the network flow edges to the corresponding flow values.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FlowAlgorithm.Flow
getFlow
-
Field Details
-
flowMap
-
-
Constructor Details
-
FlowImpl
-
-
Method Details
-
getFlowMap
Returns a mapping from the network flow edges to the corresponding flow values. The mapping contains all edges of the flow network regardless of whether there is a non-zero flow on an edge or not.- Specified by:
getFlowMapin interfaceFlowAlgorithm.Flow<E>- Returns:
- a read-only map that defines a feasible flow.
-