Push–relabel maximum flow algorithm: Difference between revisions

Content deleted Content added
Drrilll (talk | contribs)
Drrilll (talk | contribs)
Line 114:
### Restart the traversal from the element following ''u'' in ''L''.
 
The running time for ''relabel-to-front'' is <math>O(V^3)</math> (proof omitted). Again the bottleneck is non-saturating pushes, but we have reduced the number. NotNote that after step 1 there is no path from ''s'' to ''t'' in the residual graph.
 
==Sample implementation==