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

计算机工程

• 人工智能及识别技术 • 上一篇    下一篇

基于改进Metric索引的反向最远邻查询方法

杨秀娟 1,董军 1,李慧慧 2,袁延忠 1,陈晓丹 1   

  1. (1.黑龙江科技大学 计算机与信息工程学院,哈尔滨 150022; 2.黑龙江建筑职业技术学院 机电工程技术学院,哈尔滨 150025)
  • 收稿日期:2016-03-10 出版日期:2017-04-15 发布日期:2017-04-14
  • 作者简介:杨秀娟(1978—),女,讲师、硕士,主研方向为人工智能;董军,副教授、博士研究生;李慧慧,讲师、硕士;袁延忠,硕士;陈晓丹,讲师、硕士。
  • 基金资助:
    黑龙江省教育厅科学技术研究项目(12541731)。

Reverse Furthest Neighbor Query Method Based on Improved Metric Index

YANG Xiujuan  1,DONG Jun  1,LI Huihui  2,YUAN Yanzhong  1,CHEN Xiaodan  1   

  1. (1.College of Computer and Information Engineering,Heilongjiang University of Science and Technology,Harbin 150022,China;2.College of Mechanical and Electrical Engineering Technology,Heilongjiang Institute of Construction Technology,Harbin 150025,China)
  • Received:2016-03-10 Online:2017-04-15 Published:2017-04-14

摘要: PIV算法在构建Metric索引时,需要计算凸包顶点与凸包内的全部数据点距离,当数据集较大时,会浪费存储空间并增加查询消耗。为此,改进Metric索引,只存储凸包顶点与凸包内的部分数据点的距离,提出利用凸包内的点与凸包顶点之间的距离,判断该点是否是查询点反向最远邻的方法。测试结果表明,与PIV算法相比,该方法可以正确得到反向最远邻查询结果,并减少占用的存储空间和查询消耗,提高查询效率。

关键词: 空间数据库, 反向最远邻, Metric索引, 凸包, 半平面修剪策略

Abstract: When using PIV algorithm to build a Metric index,it is needed to calculate the distance between the convex hull vertices and all the data points in the convex hull.When the data set is large,this wastes storage space and increases the consumption of query.In order to solve this problem,this paper improves Metric index so that only the distance between the convex hull vertices and part of the data points within the convex hull is stored,and puts forward a method using the distance between the point of convex hull and the convex hull vertices to judge whether the point is the query result.Test results show that compared with the PIV algorithm,the proposed method can get the correct results of reverse furthest neighbor query,reduce the amount of storage space and query consumption,and improve the query efficiency.

Key words: spatial database, reverse furthest neighbor, Metric index, convex hull, half plane pruning strategy

中图分类号: