Abstract
In this paper we investigate the worst-case complexity of range searching: preprocess N points in k-space such that range queries can be answered quickly. A range query asks for all points with each coordinate in some range of values, and arises in many problems in statistics and data bases. We develop three different structures for range searching in this paper. The first structure has absolutely optimal query time (which we prove), but has very high preprocessing and storage costs. The second structure we present has logarithmic query time and O(N 1+2) preprocessing and storage costs, for any fixed ɛ>0. Finally we give a structure with linear storage, O(N ln N) preprocessing and O(N ɛ) query time.
Similar content being viewed by others
References
Bentley, J.L.: Multidimensional binary search trees used for associative searching. Comm. ACM 18, 509–517 (1975)
Bentley, J.L.: Multidimensional Divide-Conquer. Carnegie Mellon University Computer Science Department Research Review, 1978, pp. 7–24
Bentley, J.L., Friedman. J.H.: Data structures for range searching. Comput. Surveys (in press 1980)
Knuth, D.E.: The Art of Computer Programming, vol.3. Reading, Mass.: Addison-Wesley 1973
Lee, D.T., Wong, C.K.: Worst case analysis for region and partial region searches in multidimensional binary search trees and balanced quad trees. Acta Informatica 9, 23–29 (1977)
Maurer, H.A., Ottmann, Th.: Manipulating sets of points — a survey In: Graphen, Algorithmen, Datenstrukturen: Workshop 78, München-Wien: Hanser 1978
Author information
Authors and Affiliations
Additional information
Research in this paper has been supported partially under Office of Naval Research contract N000014-76-C-0373, USA, and by the Austrian Federal Ministry for Science and Research
Rights and permissions
About this article
Cite this article
Bentley, J.L., Maurer, H.A. Efficient worst-case data structures for range searching. Acta Informatica 13, 155–168 (1980). https://doi.org/10.1007/BF00263991
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/BF00263991