Graph Theory37 sections · 1633 units
Open in Course

Example Flow

(Simple network walkthrough)

Consider a network with 44 nodes: source ss, nodes aa and bb, and sink tt. Edges: (s,a)(s,a) capacity 1010, (s,b)(s,b) capacity 55, (a,b)(a,b) capacity 1515, (a,t)(a,t) capacity 1010, (b,t)(b,t) capacity 1010.

Maximum flow is 1515: send 1010 through sats \to a \to t and 55 through sbts \to b \to t. The bottleneck is the total capacity leaving ss (1010 + 55 = 1515).

This small example illustrates flow conservation: what enters a node must leave it (except source and sink). Maximum flow finds the best way to route without exceeding capacities.