0

I understand what a residual graph is. But what does a level graph mean? http://en.wikipedia.org/wiki/Dinic%27s_algorithm

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343

2 Answers2

1

From the Wikipedia article, the level graph is the subgraph of the residual graph with edges

E_L = {(u, v) in E_f : dist(v) = dist(u) + 1},

where E_f is the set of edges in the residual graph, and dist(w) is the unweighted distance from the source s to w.

In English, E_L is comprised of the edges of the residual graph that belong to some unweighted shortest path from s.

David Eisenstat
  • 64,237
  • 7
  • 60
  • 120
0

In a level graph edges between two vertices have same distance label are not kept. In network flows we use BFS to find level graph.

We also delete vertices from where sink is not reachable and also which are not reachable from source.

MrJLP
  • 978
  • 6
  • 14