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() |
getFlowMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFlowgetFlow, getFlowMappublic Double getValue()
MaximumFlowAlgorithm.MaximumFlowgetValue in interface MaximumFlowAlgorithm.MaximumFlow<E>Copyright © 2018. All rights reserved.