计算机应用 ›› 2010, Vol. 30 ›› Issue (07): 1947-1949.

• 数据库技术 • 上一篇    下一篇

基于NNlists的路网k路径近邻查询

王宝文1,韩静静1,陈子军2,刘文远1   

  1. 1. 燕山大学信息科学与工程学院
    2.
  • 收稿日期:2010-01-21 修回日期:2010-03-08 发布日期:2010-07-01 出版日期:2010-07-01
  • 通讯作者: 韩静静

NNlists-based k-path nearest neighbor query in road networks

  • Received:2010-01-21 Revised:2010-03-08 Online:2010-07-01 Published:2010-07-01

摘要: 为满足k路径近邻查询的实时性要求,运用预计算思想提出了基于NNlists的BNNL算法,通过在用户当前位置和目的地结点进行双向Dijkstra扩展得到两点间的最短路径,再通过对最短路径上的路网结点预计算的m近邻进行优化处理,最终得到正确的k路径近邻。该方法提高了k路径近邻查询的查询速度,尤其适用于兴趣点密度较大、k值较大的情况。

关键词: 路网, NNlists, k路径近邻, 空间数据库

Abstract: To satisfy the real-time requirement of k-path nearest neighbor(kPNN) query, the BNNL algorithm based on the precomputed NNlists is proposed in this paper depending on the pre-computation idea, using a bi-directional Dijkstra search scheme to acquire the current the shortest path to destination, then, the nodes in the shortest path are got. At last, these nodes' m nearest neighbors are optimized by a priority queue in order to get the correct kPNN. The performance of BNLL is more efficient about kPNN query speed, in handling the data objects are densely distributed or the number of k is large.

Key words: road networks, NNlists, k-path nearest neighbor(kPNN), spatial databases