楚雄师范学院学报 ›› 2026, Vol. 41 ›› Issue (3): 90-96.

• 数学·计算机科学 • 上一篇    下一篇

基于Voronoi图的反向最近邻查询算法

姜华1, 杨庆昆2   

  1. 1.楚雄师范学院 计算机与智能技术学院,云南 楚雄 675000;
    2.楚雄市教育体育局,云南 楚雄 675000
  • 收稿日期:2026-03-05 出版日期:2026-05-20 发布日期:2026-07-22
  • 作者简介:姜华(1978-),男,副教授,研究方向为算法设计、非遗数字化。
  • 基金资助:
    云南省地方本科高校(部分)基础研究联合专项(No. 202401BA070001-137)

Query Algorithms for Reverse Nearest Neighbors Based on Voronoi Diagrams

Jiang Hua1, Yang Qingkun2   

  1. 1. School of Computer and Intelligent Technology, Chuxiong Normal University, Chuxiong, Yunnan Province 675000, China;
    2. Chuxiong Municipal Bureau of Education and Sports, Chuxiong, Yunnan Province 675000, China
  • Received:2026-03-05 Online:2026-05-20 Published:2026-07-22

摘要: 本文根据Voronoi图的固有性质与结构特征,对反向最近邻查询问题开展深入研究,梳理并纠正了现有相关文献存在的理论疏漏与错误。通过推导相关定理及严格证明,提出了生成点新增与删除场景下反向最近邻的动态更新新方法,有效压缩了查询与更新的检索范围。并设计了面向反向最近邻查询及动态更新的VRNNQ、VRNN_Add和VRNN_Del三种算法,三种算法时间复杂度均达到O(logn)。实验测试结果表明,所提算法在时间执行效率上具备明显优势。

关键词: Voronoi图, 反向最近邻, 查询算法

Abstract: Based on the inherent properties and structural characteristics of Voronoi diagrams, this paper conducts an in-depth study on the reverse nearest neighbors query problem to identify and correct theoretical omissions and errors in the existing literature. By deriving relevant theorems and presenting strict proofs, the authors propose a novel method for dynamically updating reverse nearest neighbors when generating points are inserted or deleted that can effectively reduce the retrieval scope of query and update. Moreover, three algorithms named VRNNQ, VRNN_Add and VRNN_Del are designed for reverse nearest neighbors query and dynamic update, all of which achieve a time complexity of O(logn). Experimental results verify that the proposed algorithms possess remarkable advantages in time execution efficiency.

Key words: Voronoi diagram, reverse nearest neighbor, query algorithm

中图分类号: