Proximate point searching

  • Authors:
  • Erik D. Demaine;John Iacono;Stefan Langerman

  • Affiliations:
  • MIT Laboratory, for Computer Science, 200 Technology Square, Cambridge, MA;Department of Computer and Information Science, Polytechnic University, 5 MetroTech Center, Brooklyn, NY;Département d'Informatique, Université Libre de Bruxelles, ULB CP 212, avenue F.D. Roosevelt 50, 1050 Bruxelles, Belgium

  • Venue:
  • Computational Geometry: Theory and Applications - Special issue on the 14th Canadian conference on computational geometry — CCCG02
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the 2D point searching problem, the goal is to preprocess n points P = {P1,..., pn} in the plane so that, for an online sequence of query points q1, ...,qm, it can quickly be determined which (if any) of the elements of P are equal to each query point qi. This problem can be solved in O(logn) time by mapping the problem to one dimension. We present a data structure that is optimized for answering queries quickly when they are geometrically close to the previous successful query. Specifically, our data structure executes queries in time O(log d(qi-1, qi)), where d is some distance function between two points, and uses O(n logn) space. Our structure works with a variety of distance functions. In contrast, it is proved that, for some of the most intuitive distance functions d, it is impossible to obtain an O (log d(qi-1, qi)) runtime, or any bound that is o(log n).