Abstract
We re-examine offline techniques for linear search. Under a reasonable model of computation, a method is given to perform offline linear search in amortized cost proportional to the entropy of the request sequence; and so, this cost is at most logarithmic. On the other hand, any online technique is subject to linear amortized cost for some sequences. It follows, then, that no online technique can have an amortized cost of that which one could obtain if given the request sequence in advance, i.e., there is no competitive linear search algorithm.
This work was supported by the Natural Science and Engineering Research Council of Canada.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
J. L. Bentley and C. McGeough. Amortized analysis of selforganizing sequestial search heuristics. Communications of the ACM, 28(4):404–411, 1985
A. Borodin and R. El Yaniv. Online Computation and Competitive Analysis, Cambridge University Press, 1998.
B. C. Huang and M. A. Langston, Practical in-place merging, Communications of the ACM 31(3) 1988 348–352.
M. A. Kronrod. Optimal ordering algorithm without operational field. Soviet Math. Dokl., 10:744–746, 1969.
J. McCabe. On serial files with relocatable records. Operations Research, 13:609–618, July 1965.
N. Reingold and J. Westbrook. Offline algorithms for the list update problem. Information Processing Letters, 60:75–80, 1996.
R. Rivest. On self-organizing sequestial search heuristics. Communications of the ACM, 19(2):63–67, February 1976.
D. D. Sleator and R. E. Tarjan. Amortized efficiency of list update and paging rules. Communications of the ACM, 28(2):202–208, 1985.
D. D. Sleator and R. E. Tarjan. Self-adjusting binary search trees. Journal of the ACM, 32:652–686, 1985
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Munro, J.I. (2000). On the Competitiveness of Linear Search. In: Paterson, M.S. (eds) Algorithms - ESA 2000. ESA 2000. Lecture Notes in Computer Science, vol 1879. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45253-2_31
Download citation
DOI: https://doi.org/10.1007/3-540-45253-2_31
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41004-1
Online ISBN: 978-3-540-45253-9
eBook Packages: Springer Book Archive