1 / 7

Augmenting Path Algorithm

Augmenting Path Algorithm. flow. 0. 2. 4. 4. G:. capacity. 0. 0. 0. 6. 0. 8. 10. 10. 2. 0. 0. 0. 0. 10. s. 3. 5. t. 10. 9. Flow value = 0. Augmenting Path Algorithm. 8. X. 8. X. 8. X. flow. 0. 2. 4. 4. G:. capacity. 0. 0. 0. 6. 0. 8. 10. 10. 2.

benjamin
Download Presentation

Augmenting Path Algorithm

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Augmenting Path Algorithm flow 0 2 4 4 G: capacity 0 0 0 6 0 8 10 10 2 0 0 0 0 10 s 3 5 t 10 9 Flow value = 0

  2. Augmenting Path Algorithm 8 X 8 X 8 X flow 0 2 4 4 G: capacity 0 0 0 6 0 8 10 10 2 0 0 0 0 10 s 3 5 t 10 9 Flow value = 0 2 4 4 residualcapacity Gf: 6 8 10 10 2 10 s 3 5 t 10 9

  3. Augmenting Path Algorithm 10 X X 2 10 X 2 X 0 2 4 4 G: 0 8 8 6 0 8 10 10 2 0 0 8 0 10 s 3 5 t 10 9 Flow value = 8 2 4 4 Gf: 8 6 8 10 2 2 10 s 3 5 t 2 9 8

  4. Augmenting Path Algorithm 6 X X 6 6 X 8 X 0 2 4 4 G: 0 10 8 6 0 8 10 10 2 2 0 10 2 10 s 3 5 t 10 9 Flow value = 10 2 4 4 Gf: 6 8 10 10 2 10 s 3 5 t 10 7 2

  5. Augmenting Path Algorithm 2 X 8 X X 0 8 X 0 2 4 4 G: 6 10 8 6 6 8 10 10 2 2 6 10 8 10 s 3 5 t 10 9 Flow value = 16 2 4 4 Gf: 6 6 8 4 10 2 4 s 3 5 t 10 1 6 8

  6. Augmenting Path Algorithm 3 X 9 X 7 X 9 X 9 X 2 2 4 4 G: 8 10 8 6 6 8 10 10 2 0 8 10 8 10 s 3 5 t 10 9 Flow value = 18 2 2 4 2 Gf: 8 6 8 2 10 2 2 s 3 5 t 10 1 8 8

  7. Augmenting Path Algorithm Cut value = 19 3 2 4 4 G: 9 10 7 6 6 8 10 10 2 0 9 10 9 10 s 3 5 t 10 9 Flow value = 19 3 2 4 1 Gf: 9 1 6 7 1 10 2 1 s 3 5 t 10 9 9

More Related