Skip to content
← All questions

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

  1. Locate an edge in the flow network diagram.
  2. Identify the two numbers written on or near the edge.
  3. Read the first number as the flow (ff).
  4. Read the second number as the capacity (cc).
  5. 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

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.