Network Flow

In the Push-Relabel algorithm for finding the maximum flow in a network, the state of an intermediate node u is defined by its excess flow e(u) and its height h(u).


Consider this snapshot for node u:

  • Excess flow: e(u) = 8
  • Current heights: h(u) = 4; h(v) = 4; h(w) = 5
  • Residual capacities: c(u, v) = 5; c(u, w) = 10


What is the next operation for node u?


A) Push to node v, sending 5 units of flow.

B) Relabel node u, new height becomes h(u) = 5.

C) Push to node w, sending 8 units of flow.

D) Relabel node u, new height becomes h(u) = 6.


Original idea by: Maria Luiza Ramos da Silva

Comentários

Postagens mais visitadas deste blog

DFS vs BFS

Barabási-Albert