不完全二叉搜索的两个误差界
Two Error Bounds of Imperfect Binary Search
摘要:
假设我们知道一个对象在一个有序表中,我们想确定这个对象的索引。为了实现这个目标,我们可以执行二进制搜索。但是,假设确定该对象与表中任何其他对象的相对位置非常耗时。在这种情况下,我们可能想诉诸于一个不完整的解决方案:我们可以设计一个算法,快速预测比较两个对象的结果,并在二分搜索过程中用这个算法代替实际的比较。问题是,不完美二分搜索产生的结果离正确答案有多远。我们提出两个快速引理来回答这个问题。
英文摘要:
Suppose we know that an object is in a sorted table and we want to determine the index of that object. To achieve this goal we could perform a binary search. However, suppose it is time-consuming to determine the relative position of that object to any other objects in the table. In this scenario, we might want to resort to an incomplete solution: we could device an algorithm that quickly predicts the result of comparing two objects, and replace the actual comparison with this algorithm during a binary search. The question then is how far away are the results yielded by the imperfect binary search from the correct answers. We present two quick lemmas that answer this question.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。