Fast and Theoretically-Efficient Batch-Parallel Link-Cut Trees, Euler Tour Trees, and Treaps
Abstract
Parallel batch-dynamic trees are a fundamental building block in recent theoretical and practical advances in dynamic graph algorithms. However, all existing parallel batch-dynamic tree data structures, including Euler tour trees, UFO trees, topology trees, and rake-compress trees, are all significantly outperformed in the sequential setting by link-cut trees, which have been the sequential state-of-the-art for over 40 years. Despite their excellent performance in the sequential setting, designing efficient batch-parallel link-cut trees has remained a major open problem. In this paper, we close this gap by introducing MOJOS, a unified framework for theoretically- and practically-efficient parallel batch-dynamic trees. We exploit the fact that both Euler tour trees and link-cut trees rely on a common dynamic sequence abstraction that supports splitting and joining. We introduce a new batch-dynamic sequence built using treaps that achieves optimal work and depth, and outperforms existing parallel skip list and treap implementations for batch updates, queries, and memory usage. With MOJOS, we develop a new batch-parallel Euler tour tree algorithm that outperforms prior batch-dynamic tree implementations supporting subtree queries. Unlike prior batch-parallel Euler tour trees which rely on skip list's ability to represent cyclic sequences, MOJOS allows any batch-dynamic sequence data structure to be used as a drop-in replacement. Finally, we develop the first theoretically-efficient batch-parallel link-cut tree, which is also the first batch-dynamic data structure supporting path queries to achieve depth for batch updates in the binary-forking model. Our link-cut tree implementation outperforms all known parallel batch-dynamic tree data structures supporting path queries.
Create a lesson
Related papers
Toggle Tree: A New Data Structure for Efficient Parallel Graph Processing
Shared title terminologycs.DSXinjian Jiang, Youzhe Liu, Yan Gu et al.
Efficient Robust Learning at the Information-Theoretic Limit
Shared title terminologycs.DSAdam R. Klivans, Konstantinos Stavropoulos, Sergei Tikhonov et al.
Weighted Steiner Tree in Subexponential Time
Shared title terminologycs.DSMohammadTaghi Hajiaghayi, Danny Mittal
Removing Spanning Trees Better Than Nash-Williams
Shared title terminologycs.DSNathan Klein, Neil Olver, Zi Song Yeoh
A Space Separation for Single-Pass DFS Trees in Insertion-Only and Turnstile Streams
Shared title terminologycs.DSTsun-Ming Cheung, Meng-Tsung Tsai, Tzu-Chiao Yen
Near-Optimal Almost-Ramsey Spanning Tree Covers, via Layered Clusterings
Shared title terminologycs.DSMichael Elkin, Idan Shabat