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

具有双向比较的最优搜索树

Optimal Search Trees with 2-Way Comparisons

Marek Chrobak, Mordecai Golin, J. Ian Munro, Neal E. Young

摘要:

在1971年,Knuth给出了一个$O(n^2)$ -时间算法,用于寻找最优二叉搜索树的经典问题。Knuth的算法仅适用于基于3路比较的搜索树,而大多数现代计算机仅支持2路比较(例如,$<, \le, =, \ge$和$>$)。在本文之前,使用双向比较找到最优搜索树的问题仍然是开放的--多时间算法只适用于受限变量。我们解决了一般情况下,给出(i)$O(n^4)$ -时间算法和(ii)$O(n \log n)$ -时间加性3近似算法。此外,寻找最佳二叉分裂树,我们(iii)获得线性加速和(iv)证明以前的一些工作不正确。

英文摘要:

In 1971, Knuth gave an $O(n^2)$-time algorithm for the classic problem of finding an optimal binary search tree. Knuth's algorithm works only for search trees based on 3-way comparisons, while most modern computers support only 2-way comparisons (e.g., $<, \le, =, \ge$, and $>$). Until this paper, the problem of finding an optimal search tree using 2-way comparisons remained open -- poly-time algorithms were known only for restricted variants. We solve the general case, giving (i) an $O(n^4)$-time algorithm and (ii) an $O(n \log n)$-time additive-3 approximation algorithm. Also, for finding optimal binary split trees, we (iii) obtain a linear speedup and (iv) prove some previous work incorrect.

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

↑