E
- the graph edge typepublic static class MaximumFlowAlgorithm.MaximumFlowImpl<E> extends FlowAlgorithm.FlowImpl<E> 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 |
---|---|
Double |
getValue()
Returns value of the maximum-flow for the given network
|
String |
toString() |
getFlowMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFlow
getFlow, getFlowMap
public Double getValue()
MaximumFlowAlgorithm.MaximumFlow
getValue
in interface MaximumFlowAlgorithm.MaximumFlow<E>
Copyright © 2018. All rights reserved.