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

具有二路比较的搜索树的紧阈值界

A Tight Threshold Bound for Search Trees with 2-way Comparisons

Sunny Atalig, Marek Chrobak

AI总结:

本文研究二路比较搜索树中决定小于或等于测试的权重阈值,证明较高阈值 λ^+ 的紧界为 3/7,填补此前 [3/7,4/9] 区间结果。

摘要:

我们研究具有二路比较的搜索树(2WCST),其节点中包含分离的小于测试和等于测试,每个测试都有“是”和“否”两种可能结果。这些树的结构远比具有三路比较的标准搜索树(3WCST)微妙,且至今仍未被充分理解,从而阻碍了在设计计算最小代价树的高效算法方面取得进展。过去引起关注的一个问题是,是否存在一种简单方法来确定在搜索的任意一步应当采用哪类比较。Anderson、Kannan、Karloff 和 Ladner 从最大关键字权重与总关键字权重之比的角度研究了这一问题,并定义了两个阈值:λ^- 是强制进行小于测试的最大比率,而 λ^+ 是强制进行等于测试的最小比率。他们确定 λ^- = 1/4,但对于较高阈值,他们仅证明了 λ^+ ∈ [3/7, 4/9]。我们给出了该较高阈值的紧界,证明实际上 λ^+ = 3/7。

英文摘要:

We study search trees with 2-way comparisons (2WCST's), which involve separate less-than and equal-to tests in their nodes, each test having two possible outcomes, yes and no. These trees have a much subtler structure than standard search trees with 3-way comparisons (3WCST's) and are still not well understood, hampering progress towards designing an efficient algorithm for computing minimum-cost trees. One question that attracted attention in the past is whether there is an easy way to determine which type of comparison should be applied at any step of the search. Anderson, Kannan, Karloff and Ladner studied this in terms of the ratio between the maximum and total key weight, and defined two threshold values: $λ^-$ is the largest ratio that forces the less-than test, and $λ^+$ is the smallest ratio that forces the equal-to test. They determined that $λ^- = 1/4$, but for the higher threshold they only showed that $λ^+\in [3/7,4/9]$. We give the tight bound for the higher threshold, by proving that in fact $λ^+ = 3/7$.

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

↑