Computing Large Matchings Fast Ignaz Rutter Alexander Wolff - - PowerPoint PPT Presentation

computing large matchings fast
SMART_READER_LITE
LIVE PREVIEW

Computing Large Matchings Fast Ignaz Rutter Alexander Wolff - - PowerPoint PPT Presentation

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Computing Large Matchings Fast Ignaz Rutter Alexander Wolff Karlsruhe University TU Eindhoven Ignaz Rutter and Alexander Wolff 1 31 Computing Large Matchings


slide-1
SLIDE 1

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings

Computing Large Matchings Fast

Ignaz Rutter Alexander Wolff

Karlsruhe University TU Eindhoven

Ignaz Rutter and Alexander Wolff 1 31 Computing Large Matchings Fast

slide-2
SLIDE 2

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings

Overview

1

Introduction Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

2

Graphs with maxdeg 3 3-regular graphs Graphs with maxdeg 3

3

The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Ignaz Rutter and Alexander Wolff 2 31 Computing Large Matchings Fast

slide-3
SLIDE 3

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Overview

1

Introduction Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

2

Graphs with maxdeg 3 3-regular graphs Graphs with maxdeg 3

3

The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Ignaz Rutter and Alexander Wolff 3 31 Computing Large Matchings Fast

slide-4
SLIDE 4

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Matching

Given an undirected graph G = (V, E)...

Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

slide-5
SLIDE 5

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Matching

Given an undirected graph G = (V, E)... ...a matching is a set M of independent edges.

Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

slide-6
SLIDE 6

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Matching

A free vertex is a vertex that is not incident to an edge of M.

Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

slide-7
SLIDE 7

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Matching

An augmenting path is a path that alternates between matching and non-matching edges, and starts and ends at different free vertices.

Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

slide-8
SLIDE 8

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Matching

An augmenting path is a path that alternates between matching and non-matching edges, and starts and ends at different free vertices.

Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

slide-9
SLIDE 9

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Matching

A maximum matching is a matching of maximum cardinality.

Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

slide-10
SLIDE 10

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Matching

Theorem (Berge) A matching is maximum ⇔ there is no augmenting path.

Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

slide-11
SLIDE 11

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Known results

Let G = (V, E) and n = |V|, m = |E|. Maximum matchings take O(√n · m) time.

[Micali, Vazirani ’80]

If m = Θ(n): O(n1.5) running time, e.g., graphs with constant maxdeg or planar graphs.

Ignaz Rutter and Alexander Wolff 5 31 Computing Large Matchings Fast

slide-12
SLIDE 12

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Known results

Let G = (V, E) and n = |V|, m = |E|. Maximum matchings take O(√n · m) time.

[Micali, Vazirani ’80]

If m = Θ(n): O(n1.5) running time, e.g., graphs with constant maxdeg or planar graphs. Algorithms based on fast matrix multiplication: dense graphs: O(n2.38) time

[Mucha, Sankowski ’04]

graphs of bounded genus: O(n1.19) time

[Yuster, Zwick SODA’07]

H-minor free graphs: O(n1.32) time – ” –

Ignaz Rutter and Alexander Wolff 5 31 Computing Large Matchings Fast

slide-13
SLIDE 13

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Known results

Let G = (V, E) and n = |V|, m = |E|. Maximum matchings take O(√n · m) time.

[Micali, Vazirani ’80]

If m = Θ(n): O(n1.5) running time, e.g., graphs with constant maxdeg or planar graphs. Algorithms based on fast matrix multiplication: dense graphs: O(n2.38) time

[Mucha, Sankowski ’04]

graphs of bounded genus: O(n1.19) time

[Yuster, Zwick SODA’07]

H-minor free graphs: O(n1.32) time – ” – LEDA and Boost: O(nmα(n, m)) time, based on repeatedly finding augmenting paths.

[Tarjan ’83]

Ignaz Rutter and Alexander Wolff 5 31 Computing Large Matchings Fast

slide-14
SLIDE 14

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Known results

Results on the existence of matchings in certain graph classes.

[Biedl, Demaine, Duncan, Fleischer, Kobourov, ’04]

Graph Bound 1 Bound 2 3-connected, planar

n+4 3 2n+4−ℓ4 4

maxdeg 3

n−1 3 3n−n2−2ℓ2 6

3-regular

4n−1 9 3n−2ℓ2 6

Ignaz Rutter and Alexander Wolff 6 31 Computing Large Matchings Fast

slide-15
SLIDE 15

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Known results

Results on the existence of matchings in certain graph classes.

[Biedl, Demaine, Duncan, Fleischer, Kobourov, ’04]

Graph Bound 1 Bound 2 3-connected, planar

n+4 3 2n+4−ℓ4 4

maxdeg 3

n−1 3 3n−n2−2ℓ2 6

3-regular

4n−1 9 3n−2ℓ2 6

There are linear-time reductions:

[Biedl SODA’01]

  • max. matchings in planar graphs → in triangulated planar graphs
  • max. matchings in general graphs → in 3-regular graphs

Ignaz Rutter and Alexander Wolff 6 31 Computing Large Matchings Fast

slide-16
SLIDE 16

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Our results

We present algorithms that are relatively simple, run in O(n polylog n) time, implement all (but one) of the bounds of Biedl et al. and thus give good guarantees on the size of the computed matchings.

Ignaz Rutter and Alexander Wolff 7 31 Computing Large Matchings Fast

slide-17
SLIDE 17

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Overview

1

Introduction Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

2

Graphs with maxdeg 3 3-regular graphs Graphs with maxdeg 3

3

The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Ignaz Rutter and Alexander Wolff 8 31 Computing Large Matchings Fast

slide-18
SLIDE 18

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Maximum matchings in trees

Strategy PICKLEAFEDGES: As long as the graph has a leaf (i.e., a vertex of degree 1) Pick an arbitrary leaf u and match it to its parent v. Remove u and v from the graph.

Ignaz Rutter and Alexander Wolff 9 31 Computing Large Matchings Fast

slide-19
SLIDE 19

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Maximum matchings in trees

Strategy PICKLEAFEDGES: As long as the graph has a leaf (i.e., a vertex of degree 1) Pick an arbitrary leaf u and match it to its parent v. Remove u and v from the graph. This computes a maximum matching in a tree.

Ignaz Rutter and Alexander Wolff 9 31 Computing Large Matchings Fast

slide-20
SLIDE 20

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Maximum matchings in trees

What is known about |M|?

Ignaz Rutter and Alexander Wolff 10 31 Computing Large Matchings Fast

slide-21
SLIDE 21

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Maximum matchings in trees

What is known about |M|? Bound maxdeg by k:

k − 1 vertices

|M| ≥ m k = n − 1 k

Ignaz Rutter and Alexander Wolff 10 31 Computing Large Matchings Fast

slide-22
SLIDE 22

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

From trees to graphs

Theorem A tree with maxdeg k has a matching of size at least (n − 1)/k. Such a matching can be computed in linear time.

Ignaz Rutter and Alexander Wolff 11 31 Computing Large Matchings Fast

slide-23
SLIDE 23

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

From trees to graphs

Theorem A tree with maxdeg k has a matching of size at least (n − 1)/k. Such a matching can be computed in linear time. Corollary maxdeg-3-graphs: |matching| ≥ (n − 1)/3 in O(n) time.

Ignaz Rutter and Alexander Wolff 11 31 Computing Large Matchings Fast

slide-24
SLIDE 24

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

From trees to graphs

Theorem A tree with maxdeg k has a matching of size at least (n − 1)/k. Such a matching can be computed in linear time. Corollary maxdeg-3-graphs: |matching| ≥ (n − 1)/3 in O(n) time. Corollary 3-connected planar graph: |matching| ≥ (n − 1)/3 in O(n) time.

Ignaz Rutter and Alexander Wolff 11 31 Computing Large Matchings Fast

slide-25
SLIDE 25

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

From trees to graphs

Theorem A tree with maxdeg k has a matching of size at least (n − 1)/k. Such a matching can be computed in linear time. Corollary maxdeg-3-graphs: |matching| ≥ (n − 1)/3 in O(n) time. Corollary 3-connected planar graph: |matching| ≥ (n − 1)/3 in O(n) time. Proof: A spanning tree with maxdeg 3 exists

[Barnette ’66]

and can be computed in O(n) time.

[Czumaj, Strothmann ’97]

Ignaz Rutter and Alexander Wolff 11 31 Computing Large Matchings Fast

slide-26
SLIDE 26

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Overview

Graph Bound 1 Bound 2 3-connected + planar

n+4 3

2n+4−ℓ4 4

max-deg 3

n−1 3

3n−n2−2ℓ2 6

3-regular

4n−1 9 3n−2ℓ2 6

Ignaz Rutter and Alexander Wolff 12 31 Computing Large Matchings Fast

slide-27
SLIDE 27

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Overview

Graph Bound 1 Bound 2 3-connected + planar

n+4 3 2n+4−ℓ4 4

max-deg 3

n−1 3

3n−n2−2ℓ2 6

3-regular

4n−1 9 3n−2ℓ2 6

Ignaz Rutter and Alexander Wolff 12 31 Computing Large Matchings Fast

slide-28
SLIDE 28

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Overview

Graph Bound 1 Bound 2 3-connected + planar

n+4 3 2n+4−ℓ4 4

max-deg 3

n−1 3

3n−n2−2ℓ2 6

3-regular

4n−1 9 3n−2ℓ2 6

An augmenting path can be computed in O(n) time.

[Tarjan ’83]

Ignaz Rutter and Alexander Wolff 12 31 Computing Large Matchings Fast

slide-29
SLIDE 29

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

Overview

Graph Bound 1 Bound 2 3-connected + planar

n+4 3

2n+4−ℓ4 4

max-deg 3

n−1 3

3n−n2−2ℓ2 6

3-regular

4n−1 9 3n−2ℓ2 6

An augmenting path can be computed in O(n) time.

[Tarjan ’83]

Ignaz Rutter and Alexander Wolff 12 31 Computing Large Matchings Fast

slide-30
SLIDE 30

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Overview

1

Introduction Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

2

Graphs with maxdeg 3 3-regular graphs Graphs with maxdeg 3

3

The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Ignaz Rutter and Alexander Wolff 13 31 Computing Large Matchings Fast

slide-31
SLIDE 31

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Bridge

Ignaz Rutter and Alexander Wolff 14 31 Computing Large Matchings Fast

slide-32
SLIDE 32

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Bridge

Ignaz Rutter and Alexander Wolff 14 31 Computing Large Matchings Fast

slide-33
SLIDE 33

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

2-block tree

Ignaz Rutter and Alexander Wolff 15 31 Computing Large Matchings Fast

slide-34
SLIDE 34

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

2-block tree

Ignaz Rutter and Alexander Wolff 15 31 Computing Large Matchings Fast

slide-35
SLIDE 35

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

2-block tree

ℓ2 = 3

Ignaz Rutter and Alexander Wolff 15 31 Computing Large Matchings Fast

slide-36
SLIDE 36

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

3-regular graphs whose 2-block tree is a path

Theorem (Petersen, 1891) Every 3-regular graph whose 2-block tree is a path has a perfect matching.

Ignaz Rutter and Alexander Wolff 16 31 Computing Large Matchings Fast

slide-37
SLIDE 37

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

3-regular graphs whose 2-block tree is a path

Theorem (Petersen, 1891) Every 3-regular graph whose 2-block tree is a path has a perfect matching. Theorem (Biedl, Bose, Demaine, Lubiw, ’01) Such a matching can be computed in O(n log4 n) time.

Ignaz Rutter and Alexander Wolff 16 31 Computing Large Matchings Fast

slide-38
SLIDE 38

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Arbitrary 3-regular graphs

Biedl et al.: Every 3-regular graph whose 2-block tree has ℓ2 leaves has a matching of size at least (3n − 2ℓ2)/6 ... Theorem ... such that every free vertex is incident to a bridge.

Ignaz Rutter and Alexander Wolff 17 31 Computing Large Matchings Fast

slide-39
SLIDE 39

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Arbitrary 3-regular graphs

Biedl et al.: Every 3-regular graph whose 2-block tree has ℓ2 leaves has a matching of size at least (3n − 2ℓ2)/6 ... Theorem ... such that every free vertex is incident to a bridge. constructive proof: induction on ℓ2 known: theorem holds for ℓ2 = 1, 2 treat cases ℓ2 = 3, 4 separately

Ignaz Rutter and Alexander Wolff 17 31 Computing Large Matchings Fast

slide-40
SLIDE 40

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Arbitrary 3-regular graphs

Biedl et al.: Every 3-regular graph whose 2-block tree has ℓ2 leaves has a matching of size at least (3n − 2ℓ2)/6 ... Theorem ... such that every free vertex is incident to a bridge. constructive proof: induction on ℓ2 known: theorem holds for ℓ2 = 1, 2 treat cases ℓ2 = 3, 4 separately matching size (3n − 2ℓ2)/6: ⇒ (3n − 2ℓ2)/3 = n − 2ℓ2/3 matched vertices ⇒ 2 free vertices for every 3 leaves of the 2-block tree

Ignaz Rutter and Alexander Wolff 17 31 Computing Large Matchings Fast

slide-41
SLIDE 41

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3 Ignaz Rutter and Alexander Wolff 18 31 Computing Large Matchings Fast

slide-42
SLIDE 42

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-43
SLIDE 43

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-44
SLIDE 44

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-45
SLIDE 45

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-46
SLIDE 46

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-47
SLIDE 47

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-48
SLIDE 48

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-49
SLIDE 49

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-50
SLIDE 50

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-51
SLIDE 51

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-52
SLIDE 52

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Case ℓ2 ≥ 5: Cutting leaves

MC

Ignaz Rutter and Alexander Wolff 19 31 Computing Large Matchings Fast

slide-53
SLIDE 53

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-54
SLIDE 54

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC v

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-55
SLIDE 55

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC v

Compute matchings in all four components.

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-56
SLIDE 56

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC v

Compute matchings in all four components. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG =

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-57
SLIDE 57

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC v

Compute matchings in all four components. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG = #freeverticesMC

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-58
SLIDE 58

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC v

Compute matchings in all four components. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG = #freeverticesMC +3

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-59
SLIDE 59

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC v

Compute matchings in all four components. v is not incident to a bridge and hence is not free. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG = #freeverticesMC +3

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-60
SLIDE 60

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC

Compute matchings in all four components. v is not incident to a bridge and hence is not free. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG = #freeverticesMC +3

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-61
SLIDE 61

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC

Compute matchings in all four components. v is not incident to a bridge and hence is not free. Add one of the bridges. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG = #freeverticesMC +3 −1

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-62
SLIDE 62

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC

Compute matchings in all four components. v is not incident to a bridge and hence is not free. Add one of the bridges. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG = #freeverticesMC +3 −1 = #freeverticesMC + 2.

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-63
SLIDE 63

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Repairing the cuts

MC

Compute matchings in all four components. v is not incident to a bridge and hence is not free. Add one of the bridges. All free vertices are incident to a bridge. ℓ2(MC) = ℓ2(G) − 3. #freeverticesG = #freeverticesMC +3 −1 = #freeverticesMC + 2.

Ignaz Rutter and Alexander Wolff 20 31 Computing Large Matchings Fast

slide-64
SLIDE 64

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Overview

1

Introduction Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

2

Graphs with maxdeg 3 3-regular graphs Graphs with maxdeg 3

3

The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Ignaz Rutter and Alexander Wolff 21 31 Computing Large Matchings Fast

slide-65
SLIDE 65

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Graphs with maxdeg 3

Add dummy edges and vertices to make graph 3-regular...

G v H G

Ignaz Rutter and Alexander Wolff 22 31 Computing Large Matchings Fast

slide-66
SLIDE 66

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Graphs with maxdeg 3

Add dummy edges and vertices to make graph 3-regular...

G v H G

... apply previous algorithm, and remove dummies.

Ignaz Rutter and Alexander Wolff 22 31 Computing Large Matchings Fast

slide-67
SLIDE 67

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Overview

Graph Bound 1 Bound 2 3-connected + planar

n+4 3

2n+4−ℓ4 4

max-deg 3

n−1 3

3n−n2−2ℓ2 6

√ 3-regular

4n−1 9

3n−2ℓ2 6

Ignaz Rutter and Alexander Wolff 23 31 Computing Large Matchings Fast

slide-68
SLIDE 68

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Overview

Graph Bound 1 Bound 2 3-connected + planar

n+4 3

2n+4−ℓ4 4

max-deg 3

n−1 3

3n−n2−2ℓ2 6

√ 3-regular

4n−1 9

3n−2ℓ2 6

Ignaz Rutter and Alexander Wolff 23 31 Computing Large Matchings Fast

slide-69
SLIDE 69

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-regular graphs Graphs with maxdeg 3

Overview

Graph Bound 1 Bound 2 3-connected + planar

n+4 3

2n+4−ℓ4 4

max-deg 3

n−1 3

3n−n2−2ℓ2 6

√ 3-regular

4n−1 9

3n−2ℓ2 6

Ignaz Rutter and Alexander Wolff 23 31 Computing Large Matchings Fast

slide-70
SLIDE 70

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Overview

1

Introduction Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

2

Graphs with maxdeg 3 3-regular graphs Graphs with maxdeg 3

3

The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Ignaz Rutter and Alexander Wolff 24 31 Computing Large Matchings Fast

slide-71
SLIDE 71

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Separating triplets and the 4-block tree

Ignaz Rutter and Alexander Wolff 25 31 Computing Large Matchings Fast

slide-72
SLIDE 72

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Separating triplets and the 4-block tree

Ignaz Rutter and Alexander Wolff 25 31 Computing Large Matchings Fast

slide-73
SLIDE 73

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Separating triplets and the 4-block tree

Ignaz Rutter and Alexander Wolff 25 31 Computing Large Matchings Fast

slide-74
SLIDE 74

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Separating triplets and the 4-block tree

4-block tree: ℓ4 = 2

Ignaz Rutter and Alexander Wolff 25 31 Computing Large Matchings Fast

slide-75
SLIDE 75

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Algorithm: same story as before?

Cut off leaves and compute perfect matchings in 3-connected planar graphs whose 4-block tree is a path.

Ignaz Rutter and Alexander Wolff 26 31 Computing Large Matchings Fast

slide-76
SLIDE 76

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Algorithm: same story as before?

Cut off leaves and compute perfect matchings in 3-connected planar graphs whose 4-block tree is a path.

G1 G2 G3 Gk T1 T2 T3 Tk−1 . . .

Ignaz Rutter and Alexander Wolff 26 31 Computing Large Matchings Fast

slide-77
SLIDE 77

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Algorithm: same story as before?

Cut off leaves and compute perfect matchings in 3-connected planar graphs whose 4-block tree is a path.

G1 G2 G3 Gk T1 T2 T3 Tk−1 . . .

Hamiltonian cycles take O(n) time in 4-connected planar graphs.

[Chiba, Nishizeki ’89]

Compute matchings in 4-blocks and combine by DP .

Ignaz Rutter and Alexander Wolff 26 31 Computing Large Matchings Fast

slide-78
SLIDE 78

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

From 4-block paths to 4-block trees

Lemma Let G be a 3-connected planar graph whose 4-block tree is a path. A (nearly) perfect matching in G can be computed in O(n) time.

Ignaz Rutter and Alexander Wolff 27 31 Computing Large Matchings Fast

slide-79
SLIDE 79

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

From 4-block paths to 4-block trees

Lemma Let G be a 3-connected planar graph whose 4-block tree is a path. A (nearly) perfect matching in G can be computed in O(n) time. Sizes of matchings in 3-connected planar graph whose 4-block tree has ℓ4 leaves: Biedl et al.:

2n+4− ℓ4 4

existence Our algorithm:

2n+4−6ℓ4 4

in O(nα(n)) time. Triangulation:

2n+4−2ℓ4 4

in O(n) time.

Ignaz Rutter and Alexander Wolff 27 31 Computing Large Matchings Fast

slide-80
SLIDE 80

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Overview

Graph Bound 1 Bound 2 3-connected planar

n+4 3

2n+4−6ℓ4 4

√ maxdeg 3

n−1 3

3n−n2−2ℓ2 6

√ 3-regular

4n−1 9

3n−2ℓ2 6

Ignaz Rutter and Alexander Wolff 28 31 Computing Large Matchings Fast

slide-81
SLIDE 81

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Overview

1

Introduction Definitions and known results Warm-up: simple algorithms for maxdeg-k graphs

2

Graphs with maxdeg 3 3-regular graphs Graphs with maxdeg 3

3

The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Ignaz Rutter and Alexander Wolff 29 31 Computing Large Matchings Fast

slide-82
SLIDE 82

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Bounded-degree block trees

Theorem Let G be a 3-connected planar graph with bounded-deg. 4-block tree. Maximum matching takes O(nα(n)) time. Proof: Compute local matchings in 4-blocks. Count number of free vertices for every configuration. Use DP to find a maximum matching.

Ignaz Rutter and Alexander Wolff 30 31 Computing Large Matchings Fast

slide-83
SLIDE 83

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Bounded-degree block trees

Theorem Let G be a 3-connected planar graph with bounded-deg. 4-block tree. Maximum matching takes O(nα(n)) time. Theorem Let G be a 3-regular graph with bounded-deg. 2-block tree. Maximum matching takes O(n log4 n) time; planar case: O(n) time.

Ignaz Rutter and Alexander Wolff 30 31 Computing Large Matchings Fast

slide-84
SLIDE 84

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Bounded-degree block trees

Theorem Let G be a 3-connected planar graph with bounded-deg. 4-block tree. Maximum matching takes O(nα(n)) time. Theorem Let G be a 3-regular graph with bounded-deg. 2-block tree. Maximum matching takes O(n log4 n) time; planar case: O(n) time. Can we do better??

Ignaz Rutter and Alexander Wolff 30 31 Computing Large Matchings Fast

slide-85
SLIDE 85

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Bounded-degree block trees

Theorem Let G be a 3-connected planar graph with bounded-deg. 4-block tree. Maximum matching takes O(nα(n)) time. Theorem Let G be a 3-regular graph with bounded-deg. 2-block tree. Maximum matching takes O(n log4 n) time; planar case: O(n) time. Can we do better?? There are linear-time reductions:

[Biedl SODA’01]

  • max. matchings in planar graphs → in triangulated planar graphs
  • max. matchings in general graphs → in 3-regular graphs

Ignaz Rutter and Alexander Wolff 30 31 Computing Large Matchings Fast

slide-86
SLIDE 86

Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings 3-connected planar graphs Graphs with bounded-degree block trees

Conclusion and open questions

graph class bound on matching size runtime type-1 type-2 O(·) 3-regular (4n − 1)/9 (3n − 2ℓ2)/6 n log4 n maxdeg-3 (n − 1)/3 (3n − n2 − 2ℓ2)/6 n | n log4 n 3-connected, planar, n ≥ 10 (n + 4)/3 (2n + 4 − 6ℓ4)/4 n | n α(n) 3-regular planar (3n − 6ℓ2)/6 n triangulated, planar (2n + 4 − 2ℓ4)/4 n maxdeg-k 2(n − 1)/k n 3-reg., bnd.-deg 2-bt maximum n log4 n 3-reg., planar, bnd.-deg 2-bt maximum n 3-conn., planar, bnd.-deg 4-bt maximum n α(n) Improve running time in the planar case! Remove 6!

Ignaz Rutter and Alexander Wolff 31 31 Computing Large Matchings Fast