计算机科学 ›› 2012, Vol. 39 ›› Issue (5): 223-228.

• 人工智能 • 上一篇    下一篇

改进的Dijkstra最短路径算法及其应用研究

王树西,吴政学   

  1. (对外经济贸易大学信息学院 北 京 100029)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Improved Dijkstra Shortest Path Algorithm and its Application

  • Online:2018-11-16 Published:2018-11-16

摘要: 求最短路径是一个应用很广泛的问题求最短路径的算法有很多,公认较好的算法是Dij kstra标号法。但实验结果表明,Dijkstra标号法有需要改进的地方:①其退出机制对不联通的有向图是无效的,会陷入死循环;②没有涉及最短路径上顶点的部接点(特指前面的相部点)问题;③没有涉及多个顶点同时获得P标号的问题。针对上述问题,对标号法进行了改进。算法实验表明,改进的标号法能够有效解决上述问题。在上述工作的基础上,开发了“北京市道路最优路线选择系统”,以提供起点和终点之间的最优路线,帮助用户选择出行路线,使市民能够避过交通最拥堵的路段,节约出行时间。

关键词: 最短路径,Dijkstra标号法,城市交通,最优路线选择

Abstract: The problem of”the shortest path" has wide application. There are many algorithms to solve this problem and the best one is "Dijkstras label algorithm".But experiment results show that this algorithm needs to be improved:① The algorithm's exit mechanism is ineffective to non-unicorn figure and will fall into an infinite loop;② The algorithm is not concerned in the problem of previous adjacent vertices in shortest path;③ The algorithm is not concerned in the problem that more vertices obtain the "xrlabcl" at the same time. hhis paper improved the "Dijkstras label algorithm".Experiment results indicate that the improved algorithm can solve above problems effectively. On the basis of the above work,we developed the "Beijing Road optimal route selection system" , which help users to select the shorted route, so that people can avoid the most congested road traffic and save time.

Key words: Shortest path, Dijkstra's labeled algorithm, Urban transport, Optimal route selection

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!