International Journal of Computational Geometry & Applications · 1992 · 56 citations · 0 references
ComputingComputer ScienceAlgorithmsData StructuresGeometryConvex GeometryDelaunay TriangulationsMetric GeometryMetric SpacesNearest Neighbor SearchRange SearchingClosest Pair Of PointsDelaunay Triangulation AlgorithmsK-nearest NeighborsK-nearest Range SearchingNearest Neighbor Data StructuresTriangulation Algorithms
We present an O(n log n+k log k) time and O(n+k) space algorithm which takes as input a set of n points in the plane and enumerates the k smallest distances between pairs of points in nondecreasing order. We also present an O(n log n+kn log k) solution to the problem of finding the k nearest neighbors for each of n points. Both algorithms are conceptually very simple, are easy to implement, and are based on a common data structure: the Delaunay triangulation. Variants of the algorithms work for any convex distance function metric.