排列初始树上的贪心二叉搜索树
Greedy BST on Permutation Initial Tree
AI总结:
本文提出排列初始树概念,证明贪心BST在其上的成本与平坦初始树相同,并据此证明前序遍历猜想在排列初始树上成立,获得O(n)线性界。
摘要:
贪心二叉搜索树(BST)算法,如同伸展树(Splay tree)一样,是动态最优性猜想的一个突出候选者。虽然贪心算法满足BST的许多理想性质,但其执行搜索序列$S$的成本和分析已知在很大程度上依赖于初始树配置的选择。先前的大多数分析假设一个平坦(空)的初始树,在此假设下建立了若干紧界。在这项工作中,我们引入了排列初始树的概念,这是一类特定的非平坦初始树,并证明对于任何排列搜索序列$S=(s_1,s_2,\dots, s_n)$,存在一个排列初始树$I_p$,使得贪心算法在$I_p$上的成本与其在平坦初始树上的成本相同。作为我们结果的一个应用,我们表明当初始树是排列初始树时,前序遍历猜想对贪心算法成立。虽然先前已知贪心算法在平坦初始树上对前序序列实现$O(n)$成本(Chalermsook等人,FOCS 2015),我们的结果表明当初始树是排列初始树时,同样的线性界也成立。这一结果也与当初始树与遍历顺序对齐时伸展树在前序序列上的$O(n)$界相匹配(Chaudhuri和Höft,SIGACT 1993)。
英文摘要:
The Greedy binary search tree (BST) algorithm, like the Splay tree, is a prominent candidate for the \emph{dynamic optimality conjecture}. While Greedy satisfies many desirable properties of BST, its cost and analysis to execute a search sequence $S$ is known to depend heavily on the choice of the \emph{initial tree} configuration. Most prior analyses assume a flat (empty) initial tree, under which several tight bounds are established. In this work, we introduce the notion of a \emph{permutation initial tree}, a specific class of non-flat initial tree and prove that for any permutation search sequence $S=(s_1,s_2,\dots, s_n)$, there exists a permutation initial tree $I_p$ such that the cost of Greedy on $I_p$ is same as its cost on the flat initial tree. As an application of our result, we show that the \emph{preorder traversal conjecture} holds for Greedy when the initial tree is a permutation initial tree. While it was previously known that Greedy achieves an $O(n)$ cost on preorder sequences for flat initial tree (Chalermsook et al., FOCS 2015), our result demonstrates that the same linear bound holds when the initial tree is a permutation initial tree. This result also matches the $O(n)$ bound for Splay tree on preorder sequence when the initial tree aligns with the traversal order (Chaudhuri and Höft, SIGACT 1993).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。