public class FordFulkersonAlgorithm extends FlowAlgorithmBase
| Constructor and Description |
|---|
FordFulkersonAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Run the algorithm.
|
getCapacity, getCapacity, getCapacity, getCapacityAttribute, getFlow, getFlow, getFlow, getFlowSinkId, getFlowSourceId, getMaximumFlow, init, init, setAllCapacities, setCapacity, setCapacity, setCapacity, setCapacityAttribute, setFlow, setFlow, setFlowpublic void compute()
AlgorithmAlgorithm.init(Graph) method has to be called
before computing.Algorithm.init(Graph)Copyright © 2015. All rights reserved.