二叉查找树中的模式回避访问
Pattern-avoiding access in binary search trees
摘要:
动态最优性猜想可能是关于二叉搜索树(BST)的最基本的公开问题。它假设存在一个渐近最优的在线BST,即一个是常数因子竞争的任何BST的任何输入访问序列。文献中动态最优性的两个主要候选者是splay树[Sleator和Tarjan,1985]和Greedy [Lucas,1988; Munro,2000; Demaine等人。动态最优性是平凡的,几乎所有的序列:最长的n序列的最佳访问成本是θ(n log n),可实现任何平衡BST。因此,显然缺少的一步猜想是一个理解的“容易”访问序列。[..]证明动态最优性的困难是由高度限制的特殊情况下,仍然没有解决;一个突出的例子是遍历猜想[Sleator和Tarjan,1985],它指出,前序序列(其最佳值是线性的)是线性时间访问的splay树;没有在线BST已知满足这一猜想。本文证明了Greedy遍历猜想的两种不同的放宽:(i)Greedy对于前序遍历几乎是线性的,(ii)如果允许线性时间预处理,Greedy实际上是线性的.这些陈述是我们更一般的结果的推论,这些结果表达了访问序列的复杂性,以避免模式参数k表示。[..]据我们所知,这些是贪婪的第一个上限,不知道是否适用于任何其他在线BST。为了获得这些结果,我们确定了贪婪的输入揭示属性。非正式地说,这意味着执行日志部分地揭示了访问序列的结构。这个性质便于使用来自禁止子矩阵理论的丰富技术工具。[删节]
英文摘要:
The dynamic optimality conjecture is perhaps the most fundamental open question about binary search trees (BST). It postulates the existence of an asymptotically optimal online BST, i.e. one that is constant factor competitive with any BST on any input access sequence. The two main candidates for dynamic optimality in the literature are splay trees [Sleator and Tarjan, 1985], and Greedy [Lucas, 1988; Munro, 2000; Demaine et al. 2009] [..] Dynamic optimality is trivial for almost all sequences: the optimum access cost of most length-n sequences is Theta(n log n), achievable by any balanced BST. Thus, the obvious missing step towards the conjecture is an understanding of the "easy" access sequences. [..] The difficulty of proving dynamic optimality is witnessed by highly restricted special cases that remain unresolved; one prominent example is the traversal conjecture [Sleator and Tarjan, 1985], which states that preorder sequences (whose optimum is linear) are linear-time accessed by splay trees; no online BST is known to satisfy this conjecture. In this paper, we prove two different relaxations of the traversal conjecture for Greedy: (i) Greedy is almost linear for preorder traversal, (ii) if a linear-time preprocessing is allowed, Greedy is in fact linear. These statements are corollaries of our more general results that express the complexity of access sequences in terms of a pattern avoidance parameter k. [..] To our knowledge, these are the first upper bounds for Greedy that are not known to hold for any other online BST. To obtain these results we identify an input-revealing property of Greedy. Informally, this means that the execution log partially reveals the structure of the access sequence. This property facilitates the use of rich technical tools from forbidden submatrix theory. [Abridged]
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。