ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
PushRelabel.h

The push-relabel of Goldberg and Tarjan, the way PUSH_RELABEL of FlowNetwork::maxFlow(), beyond the book. More...

Files

file  ADS/graph/PushRelabel.h
 The push-relabel of Goldberg and Tarjan, the way PUSH_RELABEL of FlowNetwork::maxFlow() [see MaxFlow.h], beyond the book: it keeps a preflow (more flow may enter a node than leave it) and labels that bound the distances from \( t \), with the node of the highest label discharged first, \( O( n^2 \sqrt{m} ) \) (Cheriyan and Maheshwari), and the global relabelings and the gaps of Cherkassky and Goldberg, on which its speed depends in practice (see Flows, cuts and matchings).

Detailed description

The push-relabel of Goldberg and Tarjan, the way PUSH_RELABEL of FlowNetwork::maxFlow(), beyond the book.

The definitions, the invariants and the costs of the area are in Theory of graphs.