کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
433998 | 689668 | 2015 | 10 صفحه PDF | دانلود رایگان |

Let P be a set of n points in the plane. The k-nearest-neighbor (abbreviated as k-NN) query problem is to preprocess P into a data structure that quickly reports k closest points in P for a query point q. This paper addresses a generalization of the k-NN query problem to a query set Q of points, namely, the group k -nearest-neighbor query problem, in the L1L1 plane. More precisely, a query is assigned with a set Q of at most m points and a positive integer k with k≤nk≤n, and the distance between a point p of P and a query set Q is defined as the sum of L1L1 distances from p to all q∈Qq∈Q. The maximum number m of query points Q is assumed to be known in advance and to be at most n. In this paper, we propose two algorithms, one based on the range tree and the other based on a data structure for segment dragging queries, and obtain the following complexity bounds: (1) a group k -NN query can be handled in O(Tminlogn+(k+m2)(loglogn+logm))O(Tminlogn+(k+m2)(loglogn+logm)) time after preprocessing P using O(m2nlog2n)O(m2nlog2n) space, where Tmin=min{k+m,m2}Tmin=min{k+m,m2}, or (2) a group k -NN query can be handled in O((k+m)log2n+m2(logϵn+logm))O((k+m)log2n+m2(logϵn+logm)) time after preprocessing P using O(m2n)O(m2n) space, where ϵ>0ϵ>0 is an arbitrarily small constant. We also show that our approach can be applied to the weighted group k-nearest-neighbor query problem and the group k-farthest-neighbor query problem.
Journal: Theoretical Computer Science - Volume 592, 9 August 2015, Pages 39–48