E
- the graph edge typepublic static class MaximumFlowAlgorithm.MaximumFlowImpl<E> extends Object implements MaximumFlowAlgorithm.MaximumFlow<E>
Constructor and Description |
---|
MaximumFlowImpl(Double value,
Map<E,Double> flow)
Create a new maximum flow
|
Modifier and Type | Method and Description |
---|---|
Map<E,Double> |
getFlow()
Returns mapping from edge to flow value through this particular edge
|
Double |
getValue()
Returns value of the maximum-flow for the given network
|
String |
toString() |
public Double getValue()
MaximumFlowAlgorithm.MaximumFlow
getValue
in interface MaximumFlowAlgorithm.MaximumFlow<E>
public Map<E,Double> getFlow()
MaximumFlowAlgorithm.MaximumFlow
getFlow
in interface MaximumFlowAlgorithm.MaximumFlow<E>
Copyright © 2016. All rights reserved.