作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (2): 52-53. doi: 10.3969/j.issn.1000-3428.2011.02.018

• 软件技术与数据库 • 上一篇    下一篇

球面上的K最近邻查询算法

张丽平a,李 松a,郝晓红b   

  1. (哈尔滨理工大学a. 计算机科学与技术学院;b. 计算中心,哈尔滨 150080)
  • 出版日期:2011-01-20 发布日期:2011-01-25
  • 作者简介:张丽平(1976-),女,讲师、硕士,主研方向:数据结构,数据库理论;李 松,讲师、博士;郝晓红,高级实验师
  • 基金资助:

    黑龙江省教育厅科学技术研究基金资助项目(11551084)

Algorithms for K-Nearest Neighbor Query on Sphere

ZHANG Li-ping a, LI Song a, HAO Xiao-hong b   

  1. (a. School of Computer Science and Technology; b. Computation Center, Harbin University of Science and Technology, Harbin 150080, China)
  • Online:2011-01-20 Published:2011-01-25

摘要:

针对球面上数据对象点集的特征和K最近邻查询的需求,提出2种处理球面上K最近邻查询的算法:基于查询轴的K最近邻查询算法(PAM方法)和基于查询圆面的K最近邻查询算法(PCM方法)。对2种算法进行实验比较,结果表明,PAM方法和PCM方法都适合处理球面上的最近邻查询问题,PAM方法在存储量和查询复杂度方面相对于PCM方法具有一定优势,但PAM方法的可扩展性远低于 PCM方法,尤其不适合处理受限查询和带方向的查询。

关键词: 最近邻, 球面, 查询轴, 查询圆面, 索引结构

Abstract:

According to the characteristics of the datasets on the sphere, the algorithm of the K-Nearest Neighbor query based on the query axis (PAM) and the algorithm of the K-Nearest Neighbor query based on the query circular planar(PCM) are presented. Theoretical research and experimental results show that both the two methods can handle the problem of the K-Nearest Neighbor query on the sphere, compared with the PCM, PAM has advantages on the memory capacitance and the query efficiency, but the expansibility of PAM is poor and PCM has high scalability.

Key words: nearest neighbor, sphere, query axis, query circular planar, index structure

中图分类号: