What is the difference between flow and capacity in a network?
Capacity is the maximum volume or amount of data an edge can carry, while flow is the actual amount of units currently passing through that edge. By definition, the flow on any edge must be less than or equal to its capacity.
Conditions
- Applies to edges in a flow network.
- Flow must be less than or equal to capacity ().
Reasoning, step by step
- Define capacity as the maximum limit of an edge.
- Define flow as the current amount passing through the edge.
- Compare the two values to establish the constraint that flow cannot exceed capacity.
Example
In the video example, the edge from S to a has a capacity of 5 and a flow of 3. The speaker summarizes that capacity is the maximum volume the edge can hold, while flow is the amount it is currently carrying.
Common misconceptions
- Thinking flow and capacity are the same thing.
- Believing that flow can temporarily exceed capacity if the network is congested.
- Confusing the total flow of the network with the flow on a single edge.
Watch the explanation
6:30 – 7:51Watch this moment ↗
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.