English

A Deamortization Approach for Dynamic Spanner and Dynamic Maximal Matching

Data Structures and Algorithms 2021-03-12 v2

Abstract

Many dynamic graph algorithms have an amortized update time, rather than a stronger worst-case guarantee. But amortized data structures are not suitable for real-time systems, where each individual operation has to be executed quickly. For this reason, there exist many recent randomized results that aim to provide a guarantee stronger than amortized expected. The strongest possible guarantee for a randomized algorithm is that it is always correct (Las Vegas), and has high-probability worst-case update time, which gives a bound on the time for each individual operation that holds with high probability. In this paper we present the first polylogarithmic high-probability worst-case time bounds for the dynamic spanner and the dynamic maximal matching problem. 1. For dynamic spanner, the only known o(n)o(n) worst-case bounds were O(n3/4)O(n^{3/4}) high-probability worst-case update time for maintaining a 3-spanner and O(n5/9)O(n^{5/9}) for maintaining a 5-spanner. We give a O(1)klog3(n)O(1)^k \log^3(n) high-probability worst-case time bound for maintaining a (2k1)(2k-1)-spanner, which yields the first worst-case polylog update time for all constant kk. (All the results above maintain the optimal tradeoff of stretch 2k12k-1 and O~(n1+1/k)\tilde{O}(n^{1+1/k}) edges.) 2. For dynamic maximal matching, or dynamic 22-approximate maximum matching, no algorithm with o(n)o(n) worst-case time bound was known and we present an algorithm with O(log5(n))O(\log^5(n)) high-probability worst-case time; similar worst-case bounds existed only for maintaining a matching that was (2+ϵ)(2+\epsilon)-approximate, and hence not maximal. Our results are achieved using a new black-box reduction that converts any data structure with worst-case expected update time into one with a high-probability worst-case update time: the query time remains the same, while the update time increases by a factor of O(log2(n))O(\log^2(n)).

Keywords

Cite

@article{arxiv.1810.10932,
  title  = {A Deamortization Approach for Dynamic Spanner and Dynamic Maximal Matching},
  author = {Aaron Bernstein and Sebastian Forster and Monika Henzinger},
  journal= {arXiv preprint arXiv:1810.10932},
  year   = {2021}
}

Comments

A preliminary version of this article was presented at the 30th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2019). This version fixes an an error in the analysis of the dynamic matching algorithm. Abstract shortened to respect the arXiv limit of 1920 characters

R2 v1 2026-06-23T04:52:41.065Z