An optimal algorithm for the on-line closest-pair problem

  • Authors:
  • Christian Schwarz;Michiel Smid;Jack Snoeyink

  • Affiliations:
  • -;-;-

  • Venue:
  • SCG '92 Proceedings of the eighth annual symposium on Computational geometry
  • Year:
  • 1992

Quantified Score

Hi-index 0.00

Visualization

Abstract

We give an algorithm that computes the closest pair in a set of n points in k-dimensional space on-line, in O(n log n) time. The algorithm only uses algebraic functions and, therefore, is optimal. The algorithm maintains a hierarchical subdivision of k-sapce into hyper-rectangles, which is stored in a binary tree. Centroids are used to maintain a balanced decomposition of this tree.