Expected number of passes in a binary search scheme

Aaron Tenenbein
{"title":"Expected number of passes in a binary search scheme","authors":"Aaron Tenenbein","doi":"10.1016/0020-0271(74)90040-0","DOIUrl":null,"url":null,"abstract":"<div><p>The binary search scheme is a method of finding a particular file from a set of ordered files stored in a computer. This scheme involves examining the middle file, and eliminating those files which do not contain the required file. This procedure is repeated until the required file is found.</p><p>In this paper an exact expression for the expected number of passes required to find a file selected at random is derived. The expected number of passes is shown to be asymptotically equal to log<sub>2</sub> <em>k</em> where <em>k</em> is the number of files. The asymptotic approximate values are compared to the exact values.</p></div>","PeriodicalId":100670,"journal":{"name":"Information Storage and Retrieval","volume":"10 1","pages":"Pages 29-32"},"PeriodicalIF":0.0000,"publicationDate":"1974-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/0020-0271(74)90040-0","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Storage and Retrieval","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/0020027174900400","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The binary search scheme is a method of finding a particular file from a set of ordered files stored in a computer. This scheme involves examining the middle file, and eliminating those files which do not contain the required file. This procedure is repeated until the required file is found.

In this paper an exact expression for the expected number of passes required to find a file selected at random is derived. The expected number of passes is shown to be asymptotically equal to log2 k where k is the number of files. The asymptotic approximate values are compared to the exact values.

在二进制搜索方案中期望通过的次数
二进制搜索方案是一种从存储在计算机中的一组有序文件中查找特定文件的方法。该方案包括检查中间文件,并消除那些不包含所需文件的文件。重复这个过程,直到找到所需的文件。本文导出了查找随机选择的文件所需经过的期望次数的精确表达式。期望的传递次数显示为渐近地等于log2k,其中k是文件的数量。将渐近近似值与精确值进行比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信