# lect16a - Lecture 16 Network Flow 2 Flow Decomposition and...

This preview shows pages 1–19. Sign up to view the full content.

Lecture 16 Network Flow

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2
Flow Decomposition and Transformations

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
j

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
The Flow Decomposition Algorithm

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
begin Initialize while y do begin Select(s, y) Search(s, y) if a cycle C is found then do begin let = Capacity(C, y) Add Flow( , C) to cycle flows Subtract Flow( , C) from y. end if a path P is found then do begin let = Capacity(P, y) Add Flow( , P) to path flows Subtract Flow( , P) from y. end end
The initial flow 1 2 4 5 3 6 2 3 4 7 3 4 4 8 5 9 2 -2 0 0 0 0 A supply node A demand node A balanced node The flow x

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Find a Path or Cycle 2 4 5 3 6 3 7 3 4 4 8 5 9 2 -2 0 0 Select a supply node 1 Carry out a depth first search until a cycle C or a path P is found Determine the capacity The capacity is 2.
Update the decomposition 2 4 5 3 6 3 7 3 4 4 8 5 9 2 -2 0 0 Add the cycle flow to the decomposition 1 update the current flow cycle flows path flows 2 units around 1-2-4-5-3-1 2 5 6 7

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Find the next path or cycle 2 4 5 3 6 3 3 4 4 5 2 -2 0 0
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 41

lect16a - Lecture 16 Network Flow 2 Flow Decomposition and...

This preview shows document pages 1 - 19. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online