arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.03206cs.DS
收藏

压缩段树

Zipping Segment Trees

Lukas Barth, Dorothea Wagner

摘要:

间隔集合中的刺戳查询通常使用段树来回答。van Kreveld和Overmars提出了一种动态的片段树变体,它使用红黑树来进行重新平衡操作。本文介绍了压缩段树-动态段树的基础上压缩树,这是最近推出的Tarjan等人。为了方便压缩段树,我们展示了如何维护某些段树的属性在操作的压缩树。我们提出了一个深入的实验评估和比较的动态段树的基础上红黑树,重量平衡树和几个变种的新的压缩段树。我们的研究结果表明,压缩段树比基于旋转的替代品更好。

英文摘要:

Stabbing queries in sets of intervals are usually answered using segment trees. A dynamic variant of segment trees has been presented by van Kreveld and Overmars, which uses red-black trees to do rebalancing operations. This paper presents zipping segment trees - dynamic segment trees based on zip trees, which were recently introduced by Tarjan et al. To facilitate zipping segment trees, we show how to uphold certain segment tree properties during the operations of a zip tree. We present an in-depth experimental evaluation and comparison of dynamic segment trees based on red-black trees, weight-balanced trees and several variants of the novel zipping segment trees. Our results indicate that zipping segment trees perform better than rotation-based alternatives.

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

↑