An O(n log n) algorithm for the all-nearest-neighbors problem (Q1115187): Difference between revisions
From MaRDI portal
Created a new Item |
Created claim: Wikidata QID (P12): Q29396159, #quickstatements; #temporary_batch_1705549208013 |
||
Property / Wikidata QID | |||
Property / Wikidata QID: Q29396159 / rank | |||
Normal rank |
Revision as of 04:44, 18 January 2024
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