An O(n log n) algorithm for the all-nearest-neighbors problem (Q1115187)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | An O(n log n) algorithm for the all-nearest-neighbors problem |
scientific article |
Statements
An O(n log n) algorithm for the all-nearest-neighbors problem (English)
0 references
1989
0 references
Given a set V of n points in k-dimensional space, and an \(L_ q\)-metric (Minkowski metric), the all-nearest-neighbors problem is defined as follows: for each point p in V, find all those points in V-\(\{\) \(p\}\) that are closest to p under the distance metric \(L_ q\). We give an O(n log n) algorithm for the all-nearest-neighbors problem, for fixed dimension k and fixed metric \(L_ q\). Since there is an \(\Omega\) (n log n) lower bound, in the algebraic decision-tree model of computation, on the time complexity of any algorithm that solves the all-nearest- neighbors problem (for \(k=1)\), the running time of our algorithm is optimal up to a constant factor.
0 references
computational geometry
0 references
Minkowski metric
0 references
all-nearest-neighbors problem
0 references
algebraic decision-tree model of computation
0 references