Stoer-Wagner Algorithm Group 4 Introduction Theorem 1 G: G(s, - - PowerPoint PPT Presentation

stoer wagner algorithm
SMART_READER_LITE
LIVE PREVIEW

Stoer-Wagner Algorithm Group 4 Introduction Theorem 1 G: G(s, - - PowerPoint PPT Presentation

Stoer-Wagner Algorithm Group 4 Introduction Theorem 1 G: G(s, t): MinimumCutPhase(G, w, a) MinimumCut(G, w, a) {1} {2, 3, 4, 5, 6, 7, 8} {8} {1, 2, 3, 4, 5, 6, 7} W = 5 W = 5 {7, 8} {1, 2, 3, 4, 5, 6} {4, 7, 8} {1, 2, 3, 5, 6} W


slide-1
SLIDE 1

Stoer-Wagner Algorithm

Group 4

slide-2
SLIDE 2

Introduction

slide-3
SLIDE 3

Theorem 1

G: G(s, t):

slide-4
SLIDE 4
  • MinimumCutPhase(G, w, a)
  • MinimumCut(G, w, a)
slide-5
SLIDE 5
slide-6
SLIDE 6

{1} {2, 3, 4, 5, 6, 7, 8} {8} {1, 2, 3, 4, 5, 6, 7} W = 5 W = 5

slide-7
SLIDE 7

{7, 8} {1, 2, 3, 4, 5, 6} {4, 7, 8} {1, 2, 3, 5, 6} W = 7 W = 7

slide-8
SLIDE 8

{3,4,7,8}{1,2,5,6} {1,5}{2,3,4,6,7,8} {2}{1,3,4,5,6,7,8} W = 4 W = 7 W = 9

slide-9
SLIDE 9

Lemma

2 3 4 5 7 8 6 1

t s

slide-10
SLIDE 10

…… t s u v

slide-11
SLIDE 11

……

u v

slide-12
SLIDE 12

w(Au, u)

……

u v

slide-13
SLIDE 13

w(Cu)

……

u v

slide-14
SLIDE 14

Induction

1) w(Au, u) = w(Cu) ≤ w(Cu)

u

slide-15
SLIDE 15

Induction

……

u v 2)

slide-16
SLIDE 16

Induction

……

u v 2)

slide-17
SLIDE 17

Induction

……

u v 2)

slide-18
SLIDE 18

Induction

……

u v 2)

slide-19
SLIDE 19

Induction

……

u v 2)

slide-20
SLIDE 20

Running Time

  • MinimumCut :

𝑊 − 1 MinimumCutPhase

  • MinimumCutPhase : using Fibonacci heap
  • ExtractMax :

𝑃 log 𝑊 𝑊 times

  • IncreaseKey:

𝑃 1 𝐹 times

  • Every MinimumCutPhase:

𝑃 𝐹 + 𝑊 log 𝑊

  • Sum:

𝑃 𝑊 𝐹 + 𝑊 2 log 𝑊

slide-21
SLIDE 21

Thanks