optional · interactive figures

14

Explore: network flows

The residual graph as augmenting paths use it, and push–relabel with every node drawn at its height, both replayed from the reference solution.

optional: nothing in the lab depends on itback to the slides

14 · explore

Augmenting paths, on the residual graph

Try: step through Edmonds–Karp, then switch the menu to depth-first Ford–Fulkerson and watch its third path run backwards along b → a. Static version: augmenting, on the example.

14 · explore

Push–relabel, drawn at the heights

Try: step and watch nodes rise; flow only runs one level downhill. Step 9 sends a unit back up the arc it came down. Static version: the push–relabel table.