How do you read the numbers on the edges of a flow network diagram?
The numbers on the edges are typically written in the format 'flow, capacity' or 'flow/capacity'. The first number represents the current flow on that edge, and the second number represents the maximum capacity of that edge.
Conditions
- The diagram uses standard flow network notation.
- Two numbers are associated with each edge.
Reasoning, step by step
- Locate an edge in the flow network diagram.
- Identify the two numbers written on or near the edge.
- Read the first number as the flow ().
- Read the second number as the capacity ().
- Verify that the first number is less than or equal to the second number.
Example
The video annotates the edge from S to a with '3, 5' and the edge from a to b with '4, 6'. The speaker explains that we typically write them as 'flow, capacity' or 'flow/capacity', so 3 is the flow and 5 is the capacity for the first edge.
Common misconceptions
- Reading the first number as capacity and the second as flow.
- Assuming the numbers represent the source and sink node IDs rather than edge attributes.
- Thinking the comma or slash separates two different edges rather than two attributes of the same edge.
Watch the explanation
6:50 – 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.