A data structure for orthogonal range queries

  • Authors:
  • George S. Lueker

  • Affiliations:
  • -

  • Venue:
  • SFCS '78 Proceedings of the 19th Annual Symposium on Foundations of Computer Science
  • Year:
  • 1978

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given a set of points in a d-dimensional space, an orthogonal range query is a request for the number of points in a specified d-dimensional box. We present a data structure and algorithm which enable one to insert and delete points and to perform orthogonal range queries. The worstcase time complexity for n operations is O(n logd n); the space usea is O(n logd-1 n). (O-notation here is with respect to n; the constant is allowed to depend on d.) Next we briefly discuss decision tree bounds on the complexity of orthogonal range queries. We show that a decision tree of height O(dn log n) (Where the implied constant does not depend on d or n) can be constructed to process n operations in d dimensions. This suggests that the standard decision tree model will not provide a useful method for investigating the complexity of such problems.