Abstract
We present a dynamic algorithm for maintaining the connected and 2-edge-connected components in an undirected graph subject to edge deletions. The algorithm is Monte-Carlo randomized and processes any sequence of edge deletions in O(m + npoly log n) total time. Interspersed with the deletions, it can answer queries whether any two given vertices currently belong to the same (2-edge-)connected component in constant time. Our result is based on a general Monte-Carlo randomized reduction from decremental c-edge-connectivity to a variant of fully-dynamic c-edge-connectivity on a sparse graph. For non-sparse graphs with Ω(npoly log n) edges, our connectivity and 2-edge-connectivity algorithms handle all deletions in optimal linear total time, using existing algorithms for the respective fully-dynamic problems. This improves upon an O(mlog(n2/m) + npoly log n)-time algorithm of Thorup [J.Alg. 1999], which runs in linear time only for graphs with Ω(n2) edges. Our constant amortized cost for edge deletions in decremental connectivity in non-sparse graphs should be contrasted with an Ω(log n/log log n) worst-case time lower bound in the decremental setting [Alstrup, Husfeldt, and Rauhe FOCS’98] as well as an Ω(log n) amortized time lower-bound in the fully-dynamic setting [Patrascu and Demaine STOC’04].
Original language | English |
---|---|
Title of host publication | 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023 |
Editors | Kousha Etessami, Uriel Feige, Gabriele Puppis |
Publisher | Schloss Dagstuhl - Leibniz-Zentrum für Informatik |
Publication date | 2023 |
Pages | 1-17 |
Article number | 6 |
ISBN (Electronic) | 9783959772785 |
DOIs | |
Publication status | Published - 2023 |
Event | 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023 - Paderborn, Germany Duration: 10 Jul 2023 → 14 Jul 2023 |
Conference
Conference | 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023 |
---|---|
Country/Territory | Germany |
City | Paderborn |
Period | 10/07/2023 → 14/07/2023 |
Sponsor | DeepL, et al., Paderborn Center for Parallel Computing (PC2), REPLY, SFB 901, Stiebel Eltron |
Series | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|
Volume | 261 |
ISSN | 1868-8969 |
Bibliographical note
Publisher Copyright:© Anders Aamand, Adam Karczmarz, Jakub Łącki, Nikos Parotsidis, Peter M. R. Rasmussen, and Mikkel Thorup.
Keywords
- decremental connectivity
- dynamic connectivity