skip to main content
10.1145/777792.777828acmconferencesArticle/Chapter ViewAbstractPublication PagessocgConference Proceedingsconference-collections
Article

Cache-oblivious data structures for orthogonal range searching

Published:08 June 2003Publication History

ABSTRACT

We develop cache-oblivious data structures for orthogonal range searching, the problem of finding all T points in a set of N points in IRd lying in a query hyper-rectangle. Cache-oblivious data structures are designed to be efficient in arbitrary memory hierarchies.We describe a dynamic linear-size data structure that answers d-dimensional queries in O((N/B)1-1/d+T/B) memory transfers, where B is the block size of any two levels of a multilevel memory hierarchy. A point can be inserted into or deleted from this data structure in O(log2B N) memory transfers. We also develop a static structure for the two-dimensional case that answers queries in O(logB N+T/B) memory transfers using O(N log22 N) space. The analysis of the latter structure requires that B=22c for some non-negative integer constant c.

References

  1. P. K. Agarwal, L. Arge, O. Procopiuc, and J. S. Vitter. A framework for index bulk loading and dynamization. In Proc. Annual International Colloquium on Automata, Languages, and Programming, pages 115--127, 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. P. K. Agarwal, L. Arge, O. Procopiuc, and J. S. Vitter. Bkd-tree: A dynamic scalable kd-tree. Manuscript, 2002.]]Google ScholarGoogle Scholar
  3. P. K. Agarwal and J. Erickson. Geometric range searching and its relatives. In B. Chazelle, J. E. Goodman, and R. Pollack, editors, Advances in Discrete and Computational Geometry, volume 223 of Contemporary Mathematics, pages 1--56. American Mathematical Society, Providence, RI, 1999.]]Google ScholarGoogle Scholar
  4. A. Aggarwal and J. S. Vitter. The Input/Output complexity of sorting and related problems. Communications of the ACM, 31(9):1116--1127, 1988.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Andersson and M. Thorup. Tight(er) worst-case bounds on dynamic searching and priority queues. In Proc. ACM Symp. on Theory of Computation, pages 335--342, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. L. Arge. External memory data structures. In J. Abello, P. M. Pardalos, and M. G. C. Resende, editors, Handbook of Massive Data Sets, pages 313--358. Kluwer Academic Publishers, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. L. Arge, M. Bender, E. Demaine, B. Holland-Minkley, and J. I. Munro. Cache-oblivious priority-queue and graph algorithms. In Proc. ACM Symp. on Theory of Computation, pages 268--276, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. L. Arge, V. Samoladas, and J. S. Vitter. On two-dimensional indexability and optimal range search indexing. In Proc. ACM Symp. Principles of Database Systems, pages 346--357, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. R. Bayer and E. McCreight. Organization and maintenance of large ordered indexes. Acta Informatica, 1:173--189, 1972.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. Bender, R. Cole, E. Demaine, and M. Farach-Colton. Scanning and traversing: Maintaining data for traversals in memory hierarchy. In Proc. Annual European Symposium on Algorithms, pages 152--164, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. M. A. Bender, R. Cole, and R. Raman. Exponential structures for cache-oblivious algorithms. In Proc. Annual International Colloquium on Automata, Languages, and Programming, pages 195--207, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. M. A. Bender, E. D. Demaine, and M. Farach-Colton. Cache-oblivious B-trees. In Proc. IEEE Symp. on Foundations of Comp. Sci., pages 339--409, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. M. A. Bender, Z. Duan, J. Iacono, and J. Wu. A locality-preserving cache-oblivious dynamic dictionary. In Proc. ACM-SIAM Symp. on Discrete Algorithms, pages 29--38, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. J. L. Bentley. Multidimensional binary search trees used for associative searching. Communications of the ACM, 18:509--517, 1975.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. J. L. Bentley. Decomposable searching problems. Information Processing Letters, 8(5):244--251, 1979.]]Google ScholarGoogle ScholarCross RefCross Ref
  16. G. S. Brodal and R. Fagerberg. Cache oblivious distribution sweeping. In Proc. Annual International Colloquium on Automata, Languages, and Programming, pages 426--438, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. S. Brodal, R. Fagerberg, and R. Jacob. Cache oblivious search trees via binary trees of small height. In Proc. ACM-SIAM Symp. on Discrete Algorithms, pages 39--48, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. B. Chazelle. Filtering search: a new approach to query-answering. SIAM J. Comput., 15(3):703--724, 1986.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. B. Chazelle. A functional approach to data structures and its use in multidimensional searching. SIAM J. Comput., 17(3):427--462, June 1988.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. B. Chazelle. Lower bounds for orthogonal range searching: I. the reporting case. Journal of the ACM, 37(2):200--212, Apr. 1990.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. D. Comer. The ubiquitous B-tree. ACM Computing Surveys, 11(2):121--137, 1979.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. M. Frigo, C. E. Leiserson, H. Prokop, and S. Ramachandran. Cache-oblivious algorithms. In Proc. IEEE Symp. on Foundations of Comp. Sci., pages 285--298, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. H. Prokop. Cache-oblivious algorithms. Master's thesis, Massachusetts Institute of Technology, Cambridge, MA, June 1999.]]Google ScholarGoogle Scholar
  24. N. Rahman, R. Cole, and R. Raman. Optimized predecessor data structures for internal memory. In Proc. Workshop on Algorithm Engineering, LNCS 2141, pages 67--78, 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. J. Robinson. The K-D-B tree: A search structure for large multidimensional dynamic indexes. In Proc. SIGMOD Intl. Conf. on Management of Data, pages 10--18, 1981.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. J. S. Vitter. External memory algorithms and data structures: Dealing with MASSIVE data. ACM Computing Surveys, 33(2):209--271, 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Cache-oblivious data structures for orthogonal range searching

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SCG '03: Proceedings of the nineteenth annual symposium on Computational geometry
      June 2003
      398 pages
      ISBN:1581136633
      DOI:10.1145/777792

      Copyright © 2003 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 8 June 2003

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      SCG '03 Paper Acceptance Rate42of118submissions,36%Overall Acceptance Rate625of1,685submissions,37%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader