On k Nearest Neighbor Queries in the Plane for General Distance Functions

05/05/2018
by   Chih-Hung Liu, et al.
0

We study k nearest neighbor queries in the plane for general (convex, pairwise disjoint) sites of constant description complexity (such as line segment, disks, quadrilaterals and so on) and with respect to a general family of distance functions including the L_p-norms and constant-size convex distance functions. We develop a data structure with O( n log log n ) space, O( log n + k ) query time, and expected O(n polylog n) preprocessing time, removing a ( log^2 n log log n )-factor from the O( n ( log^2 n ) ( log log n)^2 ) space of Bohler et al's recent SoCG'16 work. In addition, our dynamic version (that allows insertions and deletions of sites) also improves the space of Kaplan et al.'s recent SODA'17 work from O( n log^3 n ) to O( n log n ), and reduces a ( log^2 n )-factor from their deletion time. We obtain these improvements based on linear-size shallow cuttings, which are a standard technique to deal with the k nearest neighbor problem for point sites in the Euclidean metric. Kaplan et al. has generalized shallow cuttings to general distance functions, but the size of their version has an extra double logarithmic factor. We successfully design linear-size shallow cuttings for general distance functions, indicating that for general distance functions it could still be possible to achieve the same complexities as point sites in the Euclidean metric. Our breakthrough to achieve the linear size is a new random sampling technique (for the configuration space) that employs relatively many local conflicts to prevent relatively few global conflicts. We believe this new random sampling technique has its own merit for further applications.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/24/2021

Dynamic Data Structures for k-Nearest Neighbor Queries

Our aim is to develop dynamic data structures that support k-nearest nei...
research
03/30/2021

Approximate Nearest-Neighbor Search for Line Segments

Approximate nearest-neighbor search is a fundamental algorithmic problem...
research
03/15/2018

Improved Dynamic Geodesic Nearest Neighbor Searching in a Simple Polygon

We present an efficient dynamic data structure that supports geodesic ne...
research
05/10/2020

Plurality in Spatial Voting Games with constant β

Consider a set of voters V, represented by a multiset in a metric space ...
research
07/10/2017

Dynamic Geodesic Nearest Neighbor Searching in a Simple Polygon

We present an efficient dynamic data structure that supports geodesic ne...
research
05/30/2019

Learning Nearest Neighbor Graphs from Noisy Distance Samples

We consider the problem of learning the nearest neighbor graph of a data...
research
11/15/2021

Margin-Independent Online Multiclass Learning via Convex Geometry

We consider the problem of multi-class classification, where a stream of...

Please sign up or login with your details

Forgot password? Click here to reset