Push–relabel maximum flow algorithm: Difference between revisions

Content deleted Content added
Drrilll (talk | contribs)
Drrilll (talk | contribs)
Line 37:
* <math>\mathrm{excess}(u) > 0</math>. More flow into the node than out of it so far.
* <math>c(u,v) - f(u,v) > 0</math>. Available capacity from ''u'' to ''v''.
* <math>\mathrm{height}(u) >= \mathrm{height}(v)+1</math>. Can only send to lower node.
We send an amount of flow equal to <math>\min(\mathrm{excess}(u), c(u,v)-f(u,v))</math>.