In this paper, we present an algorithm for nding k nearest neighbors of a given query line among a set of points distributed arbitrarily on a two dimensional plane. Our algorithm requires O(n2) time and space to preprocess the given set of points, and it answers the query for a given line in O(k+logn) time, where k may also be an input at the query time. Almost a similar technique is applicable for nding the k farthest neighbors of a query line, keeping the time and space complexities invariant. We also discuss some constrained version of the problems where the preprocessing time and space complexities can be reduced keeping the query times unchanged.
CITATION STYLE
Nandy, S. C. (2000). An effcient k nearest neighbor searching algorithm for a query line. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 1858, pp. 281–290). Springer Verlag. https://doi.org/10.1007/3-540-44968-x_28
Mendeley helps you to discover research relevant for your work.