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

在树上展开树

Splay trees on trees

Benjamin Aram Berendsohn, László Kozma

摘要:

树上搜索树(STT)是二叉搜索树(BST)的广泛推广,允许有效地探索树结构域。(BSTs是底层域是路径的特殊情况。)树上的树在计算机科学和离散数学中以各种形式被广泛研究。最近,Bose、Cardinal、Iacono、Koumoutsos和Langerman(SODA 2020)考虑了适应性STT,并观察到,除了显著的例外情况外,过去几十年为BST开发的机制并不容易转移到STT。特别是,他们询问是否可以有效地计算或近似最佳STT(通过类比Knuth的最佳BST算法),以及是否可以将自然的自调整BST(如Splay树(Sleator,Tarjan,1983))扩展到这种更一般的设置。我们对这两个问题的回答都是肯定的。首先,我们表明,一个$(1 + \frac{1}{t})$ -近似的最佳大小$n$ STT为一个给定的搜索分布可以计算在时间$O(n^{2t + 1})$为所有整数$t \geq 1$。其次,我们确定了一个广泛的家庭STT与线性旋转距离,允许推广的展弦树的STT设置。我们证明了我们的广义Splay满足静态最优性定理,渐近匹配的成本最优STT在网上的方式,即不知道的搜索分布。我们的研究结果表明,扩展的动态最优猜想的树上的树更广泛的设置。

英文摘要:

Search trees on trees (STTs) are a far-reaching generalization of binary search trees (BSTs), allowing the efficient exploration of tree-structured domains. (BSTs are the special case in which the underlying domain is a path.) Trees on trees have been extensively studied under various guises in computer science and discrete mathematics. Recently Bose, Cardinal, Iacono, Koumoutsos, and Langerman (SODA 2020) considered adaptive STTs and observed that, apart from notable exceptions, the machinery developed for BSTs in the past decades does not readily transfer to STTs. In particular, they asked whether the optimal STT can be efficiently computed or approximated (by analogy to Knuth's algorithm for optimal BSTs), and whether natural self-adjusting BSTs such as Splay trees (Sleator, Tarjan, 1983) can be extended to this more general setting. We answer both questions affirmatively. First, we show that a $(1 + \frac{1}{t})$-approximation of an optimal size-$n$ STT for a given search distribution can be computed in time $O(n^{2t + 1})$ for all integers $t \geq 1$. Second, we identify a broad family of STTs with linear rotation-distance, allowing the generalization of Splay trees to the STT setting. We show that our generalized Splay satisfies a static optimality theorem, asymptotically matching the cost of the optimal STT in an online fashion, i.e. without knowledge of the search distribution. Our results suggest an extension of the dynamic optimality conjecture for Splay trees to the broader setting of trees on trees.

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

↑