computing large matchings fast
play

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


  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

  2. Introduction Graphs with maxdeg 3 The missing algorithm and maximum matchings Overview Introduction 1 Definitions and known results Warm-up: simple algorithms for maxdeg- k graphs Graphs with maxdeg 3 2 3-regular graphs Graphs with maxdeg 3 The missing algorithm and maximum matchings 3 3-connected planar graphs Graphs with bounded-degree block trees Ignaz Rutter and Alexander Wolff 2 31 Computing Large Matchings Fast

  3. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Overview Introduction 1 Definitions and known results Warm-up: simple algorithms for maxdeg- k graphs Graphs with maxdeg 3 2 3-regular graphs Graphs with maxdeg 3 The missing algorithm and maximum matchings 3 3-connected planar graphs Graphs with bounded-degree block trees Ignaz Rutter and Alexander Wolff 3 31 Computing Large Matchings Fast

  4. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Matching Given an undirected graph G = ( V , E ) ... Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

  5. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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

  6. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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

  7. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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

  8. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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

  9. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Matching A maximum matching is a matching of maximum cardinality. Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

  10. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Matching Theorem (Berge) A matching is maximum ⇔ there is no augmenting path. Ignaz Rutter and Alexander Wolff 4 31 Computing Large Matchings Fast

  11. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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 ( n 1 . 5 ) running time, e.g., graphs with constant maxdeg or planar graphs. Ignaz Rutter and Alexander Wolff 5 31 Computing Large Matchings Fast

  12. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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 ( n 1 . 5 ) running time, e.g., graphs with constant maxdeg or planar graphs. Algorithms based on fast matrix multiplication: O ( n 2 . 38 ) time dense graphs: [Mucha, Sankowski ’04] graphs of bounded genus: O ( n 1 . 19 ) time [Yuster, Zwick SODA’07] O ( n 1 . 32 ) time H -minor free graphs: – ” – Ignaz Rutter and Alexander Wolff 5 31 Computing Large Matchings Fast

  13. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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 ( n 1 . 5 ) running time, e.g., graphs with constant maxdeg or planar graphs. Algorithms based on fast matrix multiplication: O ( n 2 . 38 ) time dense graphs: [Mucha, Sankowski ’04] graphs of bounded genus: O ( n 1 . 19 ) time [Yuster, Zwick SODA’07] O ( n 1 . 32 ) time H -minor free graphs: – ” – 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

  14. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Known results Results on the existence of matchings in certain graph classes. [Biedl, Demaine, Duncan, Fleischer, Kobourov, ’04] Graph Bound 1 Bound 2 2 n + 4 − ℓ 4 n + 4 3-connected, planar 3 4 3 n − n 2 − 2 ℓ 2 n − 1 maxdeg 3 3 6 4 n − 1 3 n − 2 ℓ 2 3-regular 9 6 Ignaz Rutter and Alexander Wolff 6 31 Computing Large Matchings Fast

  15. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Known results Results on the existence of matchings in certain graph classes. [Biedl, Demaine, Duncan, Fleischer, Kobourov, ’04] Graph Bound 1 Bound 2 2 n + 4 − ℓ 4 n + 4 3-connected, planar 3 4 3 n − n 2 − 2 ℓ 2 n − 1 maxdeg 3 3 6 4 n − 1 3 n − 2 ℓ 2 3-regular 9 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

  16. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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

  17. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Overview Introduction 1 Definitions and known results Warm-up: simple algorithms for maxdeg- k graphs Graphs with maxdeg 3 2 3-regular graphs Graphs with maxdeg 3 The missing algorithm and maximum matchings 3 3-connected planar graphs Graphs with bounded-degree block trees Ignaz Rutter and Alexander Wolff 8 31 Computing Large Matchings Fast

  18. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Maximum matchings in trees Strategy P ICK L EAF E DGES : 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

  19. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Maximum matchings in trees Strategy P ICK L EAF E DGES : 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

  20. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Maximum matchings in trees What is known about | M | ? Ignaz Rutter and Alexander Wolff 10 31 Computing Large Matchings Fast

  21. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings Maximum matchings in trees What is known about | M | ? Bound maxdeg by k : | M | ≥ m k = n − 1 k k − 1 vertices Ignaz Rutter and Alexander Wolff 10 31 Computing Large Matchings Fast

  22. Introduction Definitions and known results Graphs with maxdeg 3 Warm-up: simple algorithms for maxdeg- k graphs The missing algorithm and maximum matchings 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

Recommend


More recommend