Expand description
Maximum flow and minimum cut: Edmonds-Karp and Dinic.
See the book entry Maximum flow and minimum cut.
Structsยง
- Flow
Network - A flow network with residual arcs. Each added edge creates a forward arc with its capacity
and a reverse arc of capacity zero, stored as consecutive indices
2k,2k + 1. - MaxFlow
- The value of a maximum flow and the edge flows (in order of addition).