计算机科学 ›› 2014, Vol. 41 ›› Issue (7): 242-245.doi: 10.11896/j.issn.1002-137X.2014.07.050

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

采用双向搜索在多权值路网中查找较优长路径

马慧,李建国,梁瑞仕   

  1. 电子科技大学中山学院计算机学院 中山528402;华南师范大学计算机学院 广州510631;电子科技大学中山学院计算机学院 中山528402
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受广东省自然科学基金(S2012040011123),中山市科技项目(20114A219),电子科技大学中山学院博士启动项目(409YKQ04)资助

Finding Optimal Long Paths over Multi-cost Road Networks Using Bidirectional Searches

MA Hui,LI Jian-guo and LIANG Rui-shi   

  • Online:2018-11-14 Published:2018-11-14

摘要: 求解最短路径是图研究中的一个经典问题。目前大多数相关研究都假设图中每条边只有一种权值。然而在实际应用中,有时候图中的边设有多种权值,求解最短路时需要综合计算多种权值,并采用用户自定义的聚合函数f将路径的多种权值映射到一个实数上,用以比较路径的长短。当f不是线性函数时,最短路的子路不一定也是最短路,于是大部分求解最短路的算法对此问题并不适用。文中提出了一种双向搜索方法,用以在多权值路网中求解最短路近似解。实验表明,本方法适用于长路径查询。与单向搜索相比,该方法有较高的运行效率。与基于Dijkstra算法的贪心算法相比,该方法有较高的准确率。

关键词: 最短路径,多权值图,双向搜索,长路径 中图法分类号TP301.6文献标识码A

Abstract: Finding the shortest path is a classic problem in graph studies.Current researches mostly suppose that each edge in the graph has a single cost.However,in some cases,each edge might have multiple costs,which all have to be taken into consideration when computing the shortest path.A user defined aggregate function f is used to map the multiple costs of a path to a real number,from which the lengths of two paths can be compared.When f is not linear,the sub path of a shortest path is not necessarily a shortest path,and thus,most state-of-the art solutions can not be applied to this problem.This paper proposed a bidirectional search method that can find the optimal shortest paths.Experiments show that the proposed method is suitable for the long paths queries.Compared to the single directional search,the proposed method has high efficiency.Meanwhile,compared to the greedy algorithm which is based on the Dijkstra’s algorithm,the proposed method has high accuracy.

Key words: Shortest path,Multi-cost graph,Bidirectional search,Long path

[1] Geisberger R,Sanders P,Schultes D,et al.Contraction Hierarchies:Faster and Simpler Hierarchical Routing in Road Networks[C]∥WEA.2008:319-333
[2] Abraham I,Fiat A,Goldberg A V,et al.Highway dimension,shortest paths,and provably efficient algorithms[C]∥SODA.2010:782-793
[3] Bast H,Funke S,Matijecvic D.Transit:ultrafast shortest-pathqueries with linear time preprocessing[C]∥Proc.of the 9th DIMACS Implementaion Challenge.2006:175-192
[4] 林澜,闫春钢,蒋昌俊,等.动态网络最短路问题的复杂性与近似算法[J].计算机学报,2007(4):608-604
[5] 王树西,吴政学.改进的Dijkstra最短路径算法及其应用研究[J].计算机科学,2012,9(5):223-228
[6] 黄贵玲,高西全,靳松杰,等.基于蚁群算法的最短路径问题的研究和应用[J].计算机工程与应用,2007,3(13):233-235
[7] 戴树贵,孙强,潘荫荣.带限制条件的多权最短路径近似算法[J].计算机工程,2003,9(7):88-91
[8] Yang Ya-jun,J Xu-yu,Gao Hong,et al.Finding the optimalpath overmulti-cost graphs[C]∥CIKM’12.ACM,New York,NY,USA,2012:2124-2128
[9] Dijkstra E W.A note on two problems in connection with graphs[J].Numerical Mathematics,1959(1):269-271
[10] Pohl I.Bi-direcitonal search[J].Machine Intelligence,1971(6):128-140

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!