E - the graph edge typepublic static class MaximumFlowAlgorithm.MaximumFlowImpl<E> extends FlowAlgorithm.FlowImpl<E> implements MaximumFlowAlgorithm.MaximumFlow<E>
| Constructor and Description |
|---|
MaximumFlowImpl(java.lang.Double value,
java.util.Map<E,java.lang.Double> flow)
Create a new maximum flow
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getValue()
Returns value of the maximum-flow for the given network
|
java.lang.String |
toString() |
getFlowMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFlow, getFlowMappublic MaximumFlowImpl(java.lang.Double value,
java.util.Map<E,java.lang.Double> flow)
value - the flow valueflow - the flow mappublic java.lang.Double getValue()
MaximumFlowAlgorithm.MaximumFlowgetValue in interface MaximumFlowAlgorithm.MaximumFlow<E>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019. All Rights Reserved.