Daniel Kane: Advanced Algorithms and Complexity Data Structures and Algorithms
Daniel Kane: Advanced Algorithms and Complexity Data Structures and Algorithms
The Edmonds-Karp
Algorithm
Daniel Kane
Department of Computer Science and Engineering
University of California, San Diego
Lemma
When running the Edmonds-Karp algorithm,
if an edge e is saturated, it will not be used
in an augmenting path again, until dGf (s, t)
increases.
Proof
Initially, d (s, u) = x, d (v , t) =
y , d (s, t) = x + y + 1.
When used again, d (s, v ) ≥ x + 1,
d (u, t) ≥ y + 1.
Therefore, when used again,
d (s, t) ≥ (x +1)+(y +1)+1 = x +y +3.
Analysis
times.
2 The lengths of the augmenting paths
times.
2 The lengths of the augmenting paths