首页> 中文期刊>广东工业大学学报 >基于改进Kd-Tree构建算法的k近邻查询

基于改进Kd-Tree构建算法的k近邻查询

     

摘要

K nearest neighbor query algorithm is one of the commonly used algorithms in massive spatial data query.First, it construct an index of large-scale spatial data by Kd-Tree, and hierarchical division of the search space .Then, it used the k nearest neighbor query to ensure the efficiency of the search . However , the traditional Kd-Tree construction has two drawbacks:the use of test data points are required for each k nearest neighbor query back to the root , thus affecting the efficiency of the query;Kd-Tree u-ses the split-level domain for the space division of space into cubes ( two-dimensional data are rectangu-lar) , extra space appears in polygonal space at the intersection of judgment , making the comparison of data unnecessary , thus affecting the efficiency of the query .Regarding these two shortcomings , it pro-posed the corresponding improved algorithm-RB algorithm.Experimental results show that the algorithm has a higher query efficiency than the traditional KD algorithm .There are two main contribution from this paper:(1) This paper construct a quickly create Kd-Tree indexes to support queries KNN akgorithm to classify large-scale data .( 2 ) RB algorithm is proposed to improve the traditional Kd-Tree index con-struction method ,and improving query efficiency for KNN algorithm .%k近邻查询算法是查询大规模空间数据的常用算法之一,使用Kd-Tree先构建大规模空间数据的索引,然后对搜索空间进行层次划分,再进行k近邻查询,能保证搜索的效率。但是,传统的Kd-Tree构建有两个缺点:使用测试数据点进行k近邻查询每次都需要回溯到根节点,影响了查询的效率;Kd-Tree使用split域对空间进行层次划分,空间划分为立方体(二维数据表现为矩形),多边形空间在相交判断时会出现没必要进行数据距离比较的多余空间,这样会影响查询的效率。针对这两个缺点,本文提出了相应的改进算法---RB算法。实验结果证明,该算法比传统的KD算法拥有更高的查询效率。本文的主要贡献有两点:(1)构建一种快速创建Kd-Tree索引来支持KNN算法进行大规模数据的分类查询操作。(2)改进传统的Kd-Tree索引构建方法,提出新的改进算法RB算法,提高KNN算法查询的效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号