Skip to main content

An extrapolation on the interpolation search

  • Conference paper
  • First Online:
  • 162 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 318))

Abstract

Some new improvements on the Interpolation search are presented. They yield an average-case performance within an additive constant from optimal for uniformly distributed elements. The method is much less sensitive to non-uniform distributions than Interpolation search, and will have almost O(lg lgn) behavior for many distributions. Simulation results show, for example, that an element in a table of 30000 exponentially distributed elements can be found in less than 10 accesses on the average, without using any knowledge of the distribution.

There are two basic ideas that accomplish this improvement. One is to allow extrapolation over small intervals, and the other is to use the least-square method to approximate the first probe position in the table.

This work was supported under a NFR Grant: F-FU 8992-100

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. G.H. Gonnet, Interpolation and Interpolation Hash Searching, Doctoral Thesis, Waterloo, Ontario, 1976

    Google Scholar 

  2. G.H. Gonnet, L.D. Rogers, J.A. George, An Algorithmic and Complexity Analysis of Interpolation Search, Acta Informatica 13, 39–52, 1980

    Google Scholar 

  3. B.W Lindgren, Statistical Theory, Third Edition, Collier MacMillan International Editions, 1976

    Google Scholar 

  4. Y. Perl and E. M. Reingold, Understanding the Complexity of Interpolation Search, Information Processing Letter, Vol.6 number 6, December 1977

    Google Scholar 

  5. W. W. Peterson, Addressing for Random Access Storage, IBM J.Res. Develop. 1 (1957), 131–132

    Google Scholar 

  6. N. Santoro and J.B. Sidney, Interpolation-Binary Search, Information Processing Letters, Vol.20 number 4, May 1985

    Google Scholar 

  7. D. E. Willard, Searching Unindexed and Nonuniformly Generated Files in loglogn Time, SIAM Journal of Computation, Vol.14 Number 4, Nov.1985

    Google Scholar 

  8. A.C. Yao and F.F. Yao, The Complexity of Searching an Ordered Random Table, Proceedings Seventeenth Annual Symposium, Foundations of Computer Science 1976, pp. 173–177

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Rolf Karlsson Andrzej Lingas

Rights and permissions

Reprints and permissions

Copyright information

© 1988 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Carlsson, S., Mattsson, C. (1988). An extrapolation on the interpolation search. In: Karlsson, R., Lingas, A. (eds) SWAT 88. SWAT 1988. Lecture Notes in Computer Science, vol 318. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-19487-8_3

Download citation

  • DOI: https://doi.org/10.1007/3-540-19487-8_3

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-19487-3

  • Online ISBN: 978-3-540-39288-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics