Flow_Decomposition

# Flow_Decomposition - 15.082 and 6.855J Flow Decomposition 1...

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

1 15.082 and 6.855J Flow Decomposition

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

View Full Document
2 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
3 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
4 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.
5 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
6 Find the next path or cycle 2 4 5 3 6 3 3 4 4 5 2 -2 0 0 Start at a supply node and find the next cycle or path 1 cycle flows path flows 2 units around 1-2-4-5-3-1 5 6 7
7

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 05/05/2010 for the course EE 15.082 taught by Professor Orlin during the Spring '10 term at Visayas State University.

### Page1 / 14

Flow_Decomposition - 15.082 and 6.855J Flow Decomposition 1...

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

View Full Document
Ask a homework question - tutors are online