edu.stanford.math.plex4.bottleneck
public class FordFulkerson extends java.lang.Object
| Constructor and Description |
|---|
FordFulkerson() |
| Modifier and Type | Method and Description |
|---|---|
int |
maxFlow(FordFulkersonNode[] v,
FordFulkersonEdge[] e,
int snode,
int tnode)
Inputs a graph to compute max flow/min cut for.
|
protected void |
rdb() |
protected void |
solve() |
protected void |
stpath() |
public int maxFlow(FordFulkersonNode[] v, FordFulkersonEdge[] e, int snode, int tnode)
v - e - protected void solve()
protected void rdb()
protected void stpath()