...
首页> 外文期刊>Theoretical computer science >An efficient k nearest neighbors searching algorithm for a query line
【24h】

An efficient k nearest neighbors searching algorithm for a query line

机译:一种有效的k条最近线邻居搜索算法

获取原文
获取原文并翻译 | 示例
           

摘要

We present an algorithm for finding k nearest neighbors of a given query line among a set of n points distributed arbitrarily on a two-dimensional plane. Our algorithm requires O(n(2)) time and O(n(2)/logn) space to preprocess the given set of points, and it answers the query for a given line in O(k + log n) time, where k may also be an input at the query time. Almost a similar technique works for finding k farthest neighbors of a query line, keeping the time and space complexities invariant. We also show that if k is known at the time of preprocessing, the time and space complexities for the preprocessing can be reduced keeping the query times unchanged. (C) 2002 Elsevier Science B.V. All rights reserved. [References: 18]
机译:我们提出了一种算法,用于在二维平面上任意分布的n个点中找到给定查询行的k个最近邻居。我们的算法需要O(n(2))时间和O(n(2)/ logn)空间来预处理给定的点集,并且它会以O(k + log n)的时间回答给定行的查询,其中k也可以是查询时的输入。几乎类似的技术可用于查找查询行的k个最远的邻居,从而使时间和空间复杂度保持不变。我们还表明,如果在预处理时知道k,则可以减少预处理的时间和空间复杂度,从而保持查询时间不变。 (C)2002 Elsevier Science B.V.保留所有权利。 [参考:18]

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号