arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 0711.1682cs.DS
收藏

可合并树的数据结构

Data Structures for Mergeable Trees

Loukas Georgiadis, Haim Kaplan, Nira Shafrir, Robert E. Tarjan, Renato F. Werneck

摘要:

出于在计算拓扑学的应用,我们考虑一个新的变种的问题,有效地维护动态有根树。此变体需要在单个操作中合并两个路径。在标准问题中,一次只有一个树弧发生变化,与此相反,一个合并操作可以改变许多弧。尽管如此,我们开发了一个数据结构,支持合并一个n节点的森林在O(log^2 n)摊销时间和所有其他标准的树操作在O(log n)时间(摊销,最坏情况下,或随机取决于底层的数据结构)。对于特殊的情况下,发生在激励应用程序中,其中任意弧删除(切割)是不允许的,我们给出了一个数据结构与O(log n)的时间限制每个操作。这在某些假设下是渐近最优的。对于更特殊的情况下,在这两个削减和父查询是不允许的,我们给出了一个替代的O(log n)时间的解决方案,使用标准的动态树作为一个黑盒。这个解决方案也适用于激励应用程序。我们的方法以各种方式使用以前的工作动态树,但每个算法的分析需要新颖的想法。我们还调查了各种假设下的问题的下限。

英文摘要:

Motivated by an application in computational topology, we consider a novel variant of the problem of efficiently maintaining dynamic rooted trees. This variant requires merging two paths in a single operation. In contrast to the standard problem, in which only one tree arc changes at a time, a single merge operation can change many arcs. In spite of this, we develop a data structure that supports merges on an n-node forest in O(log^2 n) amortized time and all other standard tree operations in O(log n) time (amortized, worst-case, or randomized depending on the underlying data structure). For the special case that occurs in the motivating application, in which arbitrary arc deletions (cuts) are not allowed, we give a data structure with an O(log n) time bound per operation. This is asymptotically optimal under certain assumptions. For the even-more special case in which both cuts and parent queries are disallowed, we give an alternative O(log n)-time solution that uses standard dynamic trees as a black box. This solution also applies to the motivating application. Our methods use previous work on dynamic trees in various ways, but the analysis of each algorithm requires novel ideas. We also investigate lower bounds for the problem under various assumptions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑