Cache-oblivious planar orthogonal range searching and counting

  • Authors:
  • Lars Arge;Gerth Stølting Brodal;Rolf Fagerberg;Morten Laustsen

  • Affiliations:
  • University of Aarhus, Aarhus N, Denmark;University of Aarhus, Aarhus N, Denmark;University of Southern Denmark, Odense M, Denmark;University of Aarhus, Aarhus N, Denmark

  • Venue:
  • SCG '05 Proceedings of the twenty-first annual symposium on Computational geometry
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present the first cache-oblivious data structure for planar orthogonal range counting, and improve on previous results for cache-oblivious planar orthogonal range searching.Our range counting structure uses O(N log2 N) space and answers queries using O(logB N) memory transfers, where B is the block size of any memory level in a multilevel memory hierarchy. Using bit manipulation techniques, the space can be further reduced to O(N). The structure can also be modified to support more general semigroup range sum queries in O(logB N) memory transfers, using O(N log2 N) space for three-sided queries and O(N log22 N/log2 log2 N) space for four-sided queries.Based on the O(N log N) space range counting structure, we develop a data structure that uses O(N log2 N) space and answers three-sided range queries in O(logB N+T/B) memory transfers, where T is the number of reported points. Based on this structure, we present a general four-sided range searching structure that uses O(N log22 N/log2 log2 N) space and answers queries in O(logB N + T/B) memory transfers.