Push–relabel maximum flow algorithm: Difference between revisions

Content deleted Content added
Line 113:
 
====Relabel-to-front selection rule====
The relabel-to-front push-relabel algorithm<ref name="clrs26"/> organizes all vertices into a linked list. TheInitially, the nodes can be inserted in arbitrary order. The algorithm scans the list from front to back and performs a discharge operation on the current vertex if it is active. If the node is relabeled, it is moved to the front of the list, and the scan is restarted from the front.
 
The algorithm also has {{nowrap|''O''(''V''<sup>3</sup>)}} time complexity.