2081 10

CSC165 ยท 2081 ยท 5 marks

What is network flow? Give an example of saturated edge, unsaturated edge, and slack.

What is network flow? Give an example of saturated edge, unsaturated edge, and slack. [5]

Discrete Structures

Quick answer

A network flow (or transport network) is a directed graph G = (V, E) where each edge e has an associated capacity C(e) > 0, a designated source node S (only outgoing flow) and a sink/destination node D (only incoming flow). All other vertices are called intermediate vertices.

Network Flow

Definition

The network flow problem asks: what is the maximum total amount of flow that can be carried from source S to destination D?

Key Constraints:

  • The flow on any edge cannot exceed its capacity: F(e) โ‰ค C(e)
  • For every intermediate vertex, flow in = flow out (conservation of flow)

Important Terminology

Consider an edge with notation C(e), F(e) meaning capacity C(e) and current flow F(e):

TermDefinitionCondition
Saturated EdgeAn edge whose flow equals its capacityF(e) = C(e)
Unsaturated EdgeAn edge whose flow is strictly less than its capacityF(e) < C(e)
SlackThe unused capacity remaining on an edgeSlack = C(e) - F(e)

Examples

Consider the following edges in a transport network (written as capacity, flow):

Example Edge Set:

Edge (S, a):  capacity = 10,  flow = 10
Edge (a, b):  capacity = 8,   flow = 5
Edge (b, D):  capacity = 6,   flow = 3

1. Saturated Edge

Edge (S, a): C = 10, F = 10

Since F(e) = C(e) = 10, this edge is saturated. No additional flow can be pushed through this edge.

Slack = 10 - 10 = 0

2. Unsaturated Edge

Edge (a, b): C = 8, F = 5

Since F(e) = 5 < C(e) = 8, this edge is unsaturated. This edge can still carry additional flow and can be part of an augmenting path.

Slack = 8 - 5 = 3

3. Slack

Edge (b, D): C = 6, F = 3

Slack = C(e) - F(e) = 6 - 3 = 3

This means 3 more units of flow can still be pushed through edge (b, D).


Significance in Maximum Flow

  • An augmenting path from S to D is a simple path consisting entirely of unsaturated (forward) edges.
  • Once all paths from S to D contain at least one saturated edge, no more augmenting paths exist and the maximum flow has been achieved.
  • The maximum flow equals the sum of outgoing flows at S = sum of incoming flows at D.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.