public class FordFulkersonAlgorithm extends FlowAlgorithmBase
Constructor and Description |
---|
FordFulkersonAlgorithm() |
Modifier and Type | Method and Description |
---|---|
void |
compute()
Run the algorithm.
|
java.lang.String |
defaultResult() |
getCapacity, getCapacity, getCapacity, getCapacityAttribute, getFlow, getFlow, getFlow, getFlowSinkId, getFlowSourceId, getMaximumFlow, init, init, setAllCapacities, setCapacity, setCapacity, setCapacity, setCapacityAttribute, setFlow, setFlow, setFlow, setSinkId, setSourceId
public void compute()
Algorithm
Algorithm.init(Graph)
method has to be called
before computing.Algorithm.init(Graph)
public java.lang.String defaultResult()