A True O(n n) Algorithm for the All-k-Nearest-Neighbors Problem

08/01/2019
by   Hengzhao Ma, et al.
0

In this paper we examined an algorithm for the All-k-Nearest-Neighbor problem proposed in 1980s, which was claimed to have an O(nn) upper bound on the running time. We find the algorithm actually exceeds the so claimed upper bound, and prove that it has an Ω(n^2) lower bound on the time complexity. Besides, we propose a new algorithm that truly achieves the O(nn) bound. Detailed and rigorous theoretical proofs are provided to show the proposed algorithm runs exactly in O(nn) time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/01/2019

A True O(n logn) Algorithm for the All-k-Nearest-Neighbors Problem

In this paper we examined an algorithm for the All-k-Nearest-Neighbor pr...
research
10/11/2018

A Theory-Based Evaluation of Nearest Neighbor Models Put Into Practice

In the k-nearest neighborhood model (k-NN), we are given a set of points...
research
03/26/2018

Efficient space virtualisation for Hoshen--Kopelman algorithm

In this paper the efficient space virtualisation for Hoshen--Kopelman al...
research
06/10/2019

Evaluating the Robustness of Nearest Neighbor Classifiers: A Primal-Dual Perspective

We study the problem of computing the minimum adversarial perturbation o...
research
04/24/2019

Faster Algorithms for All Pairs Non-decreasing Paths Problem

In this paper, we present an improved algorithm for the All Pairs Non-de...
research
11/07/2019

Efficient Spatial Nearest Neighbor Queries Based on Multi-layer Voronoi Diagrams

Nearest neighbor (NN) problem is an important scientific problem. The NN...
research
04/10/2022

Verification of Strong K-Step Opacity for Discrete-Event Systems

In this paper, we revisit the verification of strong K-step opacity (K-S...

Please sign up or login with your details

Forgot password? Click here to reset