Max Flow
Max Flow
Name: Praveena BN
USN : 22BMMCA040
What is Network Flow ?
2. There are two distinguishing points, the source (s) and the sink (t);
Residual Capacity - Residual capacity of the directed edge is nothing but capacity of the edge -
current flow through the edge. If there is flow along a directed edge u → v then reversed edge has a
capacity 0 and we can say 𝑓(𝑣,𝑢)=−𝑓(𝑢,𝑣).
Residual Graph - Residual graph is nothing but the same graph with the only difference is we use
residual capacities as capacities.
Augmenting Path - It is a simple path from source to sink in a residual graph i.e. along the edges
whose capacity is 0.
Consider,
the initial flow of all the paths is 0.
From the figure that we can't increase the flow along paths 𝐴→𝐵and 𝐷→𝐶as their flow has
reached their maximum capacity. So, to find other augmenting paths.
Applications
• In traffic movements, to find how much traffic can move from a City A to City 𝐵.
• In electrical systems, to find the maximum current that could flow the wires without causing
any short circuit.
• In the water/sewage management system, to find maximum capacity of the network.
Thankyou!