Fully Dynamic Maximal Matching in Constant Update Time

Baswana, Gupta and Sen [FOCS'11] showed that fully dynamic maximal matching can be maintained in general graphs with logarithmic amortized update time. More specifically, starting from an empty graph on n fixed vertices, they devised a randomized algorithm for maintaining maximal matching over any sequence of t edge insertions and deletions with a total runtime of O(t log n) in expectation and O(t log n + n log2 n) with high probability. Whether or not this runtime bound can be improved towards O(t) has remained an important open problem. Despite significant research efforts, this question has resisted numerous attempts at resolution even for basic graph families such as forests. In this paper, we resolve the question in the affirmative, by presenting a randomized algorithm for maintaining maximal matching in general graphs with constant amortized update time. The optimal runtime bound O(t) of our algorithm holds both in expectation and with high probability. As an immediate corollary, we can maintain 2-approximate vertex cover with constant amortized update time. This result is essentially the best one can hope for (under the unique games conjecture) in the context of dynamic approximate vertex cover, culminating a long line of research. Our algorithm builds on Baswana et al.'s algorithm, but is inherently different and arguably simpler. As an implication of our simplified approach, the space usage of our algorithm is linear in the (dynamic) graph size, while the space usage of Baswana et al.'s algorithm is always at least Ω(n log n). Finally, we present applications to approximate weighted matchings and to distributed networks.

[1]  Richard Peng,et al.  Fully Dynamic $(1+\epsilon)$-Approximate Matchings , 2013, 1304.0378.

[2]  Seth Pettie,et al.  A simple reduction from maximum weight matching to maximum cardinality matching , 2012, Inf. Process. Lett..

[3]  Norbert Zeh,et al.  Orienting Dynamic Graphs, with Applications to Maximal Matchings and Adjacency Queries , 2014, ISAAC.

[4]  Giuseppe F. Italiano,et al.  Deterministic Fully Dynamic Data Structures for Vertex Cover and Matching , 2015, SODA.

[5]  Errol L. Lloyd,et al.  Fully Dynamic Maintenance of Vertex Cover , 1993, WG.

[6]  David Peleg,et al.  Distributed Computing: A Locality-Sensitive Approach , 1987 .

[7]  Shimon Even,et al.  An O (N2.5) algorithm for maximum matching in general graphs , 1975, 16th Annual Symposium on Foundations of Computer Science (sfcs 1975).

[8]  Vijay V. Vazirani An Improved Definition of Blossoms and a Simpler Proof of the MV Matching Algorithm , 2012, ArXiv.

[9]  Boaz Patt-Shamir,et al.  Distributed approximate matching , 2007, PODC '07.

[10]  Boaz Patt-Shamir,et al.  Improved Distributed Approximate Matching , 2015, J. ACM.

[11]  Krzysztof Onak,et al.  Maintaining a large matching and a small vertex cover , 2010, STOC '10.

[12]  Larry Carter,et al.  Universal Classes of Hash Functions , 1979, J. Comput. Syst. Sci..

[13]  Manoj Gupta,et al.  Maintaining Approximate Maximum Matching in an Incremental Bipartite Graph in Polylogarithmic Update Time , 2014, FSTTCS.

[14]  Clifford Stein,et al.  Fully Dynamic Matching in Bipartite Graphs , 2015, ICALP.

[15]  Sandeep Sen,et al.  Maintaining Approximate Maximum Weighted Matching in Fully Dynamic Graphs , 2012, FSTTCS.

[16]  Subhash Khot,et al.  Vertex cover might be hard to approximate to within 2-/spl epsiv/ , 2003, 18th IEEE Annual Conference on Computational Complexity, 2003. Proceedings..

[17]  Amir Abboud,et al.  Popular Conjectures Imply Strong Lower Bounds for Dynamic Problems , 2014, 2014 IEEE 55th Annual Symposium on Foundations of Computer Science.

[18]  Ankit Sharma,et al.  An O(log(n)) Fully Dynamic Algorithm for Maximum matching in a tree , 2009, ArXiv.

[19]  Tsvi Kopelowitz,et al.  Higher Lower Bounds from the 3SUM Conjecture , 2014, SODA.

[20]  Seth Pettie,et al.  Linear-Time Approximation for Maximum Weight Matching , 2014, JACM.

[21]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[22]  Piotr Sankowski,et al.  Faster dynamic matchings and vertex connectivity , 2007, SODA '07.

[23]  Sandeep Sen,et al.  Fully Dynamic Maximal Matching in O (log n) Update Time , 2011, 2011 IEEE 52nd Annual Symposium on Foundations of Computer Science.

[24]  David Peleg,et al.  Dynamic (1 + ∊)-Approximate Matchings: A Density-Sensitive Approach , 2016, SODA.

[25]  Silvio Micali,et al.  An O(v|v| c |E|) algoithm for finding maximum matching in general graphs , 1980, 21st Annual Symposium on Foundations of Computer Science (sfcs 1980).

[26]  Bruce M. Kapron,et al.  Dynamic graph connectivity in polylogarithmic worst case time , 2013, SODA.

[27]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[28]  Shay Solomon,et al.  Simple deterministic algorithms for fully dynamic maximal matching , 2012, STOC '13.

[29]  Clifford Stein,et al.  Faster Fully Dynamic Matchings with Small Approximation Ratios , 2016, SODA.

[30]  Robert Krauthgamer,et al.  Orienting Fully Dynamic Graphs with Worst-Case Time Bounds , 2013, ICALP.