Push–relabel maximum flow algorithm: Difference between revisions

Content deleted Content added
Drrilll (talk | contribs)
Drrilll (talk | contribs)
Line 127:
Algorithm Relabel-to-Front(G(V,E),s,t):
for each edge (s,v):
push(s,v); //note that this will saturate the edge (s,v)
L = v - {''s'',''t''}; //build a list of all vertices in any order
current = L.head;