Towards Scalable and Practical Batch-Dynamic Connectivity
We study the problem of dynamically maintaining the connected components of an undirected graph subject to edge insertions and deletions. We give the first parallel algorithm for the problem that is work-efficient, supports batches of updates, runs in polylogarithmic depth, and uses only linear total space. The existing algorithms for the problem either use super-linear space, do not come with strong theoretical bounds, or are not parallel. On the empirical side, we provide the first implementation of the cluster forest algorithm , the first linear-space and polylogarithmic update time algorithm for dynamic connectivity. Experimentally, we find that our algorithm uses up to 19.7× less space and is up to 6.2× faster than the level-set algorithm of Holm, de Lichten-berg, and Thorup, arguably the most widely-implemented dynamic connectivity algorithm with strong theoretical guarantees.
Authors
- Jakub Łącki (ORCID: https://orcid.org/0000-0001-9347-0041)
- Julian Shun (ORCID: https://orcid.org/0000-0001-6163-6625)
- Laxman Dhulipala (ORCID: https://orcid.org/0000-0003-0685-064X)
- Adam Karczmarz (ORCID: https://orcid.org/0000-0002-2693-8713)
- Zhongqi Wang (ORCID: https://orcid.org/0009-0000-6977-8388)
- Quinten De Man
Institutions
- Google (United States) (US)
- Center for Theoretical Physics (PL)
- Corporación Universitaria de Colombia Ideas (CO)
- Innovative Designs in Environments for an Aging Society (US)
- University of Warsaw (PL)
- University of Maryland, College Park (US)
Publication Details
- Journal
- Proceedings of the VLDB Endowment
- Published
- 2024-11-01
- DOI
- https://doi.org/10.14778/3712221.3712250
- Citations
- 2
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.50