论文标题
通过变化传播的平行批量动力树
Parallel Batch-dynamic Trees via Change Propagation
论文作者
论文摘要
动态的树木问题是要维持森林,但要进行边缘插入和缺失,同时促进查询,例如连通性,路径重量和子树重量。动态树是大量图算法的基本构建块。尽管传统上在单个更新设置中进行了研究,但由于迅速发展的动态数据集的出现,今天能够支持更新的动态算法越来越重要。由于单个处理器上的处理更新通常对于大量更新而言通常是不现实的,因此设计可证明较低跨度的并行批次动态算法对于许多应用程序很重要。在这项工作中,我们设计了能够支持路径查询和子树查询以及各种非本地查询的动态树的第一个工作效率平行批次 - 动态算法。为了实现这一目标,我们为算法动态静态圆形同步算法提出了一个框架,该算法使我们能够在其工作和跨度上获得具有良好界限的平行批次划分算法。在我们的框架中,算法设计人员可以将技术应用于任何适当定义的静态算法。然后,我们通过定义基础算法的两个执行之间的计算距离的概念来获得框架中算法的理论保证。 我们的动态树算法是通过将我们的动态框架应用于Miller和Reif的平行树收缩算法,然后对批处理更新下此算法的计算距离进行新的分析。我们表明,$ k $更新可以用$ o(k \ log(1+n/k))$进行预期,该$与Tseng等人的现有算法相匹配。同时为大量的查询和应用提供支持。
The dynamic trees problem is to maintain a forest subject to edge insertions and deletions while facilitating queries such as connectivity, path weights, and subtree weights. Dynamic trees are a fundamental building block of a large number of graph algorithms. Although traditionally studied in the single-update setting, dynamic algorithms capable of supporting batches of updates are increasingly relevant today due to the emergence of rapidly evolving dynamic datasets. Since processing updates on a single processor is often unrealistic for large batches of updates, designing parallel batch-dynamic algorithms that achieve provably low span is important for many applications. In this work, we design the first work-efficient parallel batch-dynamic algorithm for dynamic trees that is capable of supporting both path queries and subtree queries, as well as a variety of non-local queries. To achieve this, we propose a framework for algorithmically dynamizing static round-synchronous algorithms that allows us to obtain parallel batch-dynamic algorithms with good bounds on their work and span. In our framework, the algorithm designer can apply the technique to any suitably defined static algorithm. We then obtain theoretical guarantees for algorithms in our framework by defining the notion of a computation distance between two executions of the underlying algorithm. Our dynamic trees algorithm is obtained by applying our dynamization framework to the parallel tree contraction algorithm of Miller and Reif, and then performing a novel analysis of the computation distance of this algorithm under batch updates. We show that $k$ updates can be performed in $O(k \log(1+n/k))$ work in expectation, which matches an existing algorithm of Tseng et al. while providing support for a substantially larger number of queries and applications.