Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
An O(n log n) algorithm for the all-nearest-neighbors problem - MaRDI portal

An O(n log n) algorithm for the all-nearest-neighbors problem (Q1115187)

From MaRDI portal





scientific article; zbMATH DE number 4085025
Language Label Description Also known as
English
An O(n log n) algorithm for the all-nearest-neighbors problem
scientific article; zbMATH DE number 4085025

    Statements

    An O(n log n) algorithm for the all-nearest-neighbors problem (English)
    0 references
    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

    Identifiers

    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references