An improved Dijkstra's shortest path algorithm for sparse network

被引:71
作者
Xu, M. H. [1 ]
Liu, Y. Q.
Huang, Q. L.
Zhang, Y. X.
Luan, G. F.
机构
[1] Jiangsu Polytech Univ, Dept Informat Sci, Changzhou 213016, Jiangsu, Peoples R China
[2] Jiangsu Polytech Univ, Dept Environm Sci, Changzhou 213016, Jiangsu, Peoples R China
关键词
Dijkstra's shortest path algorithm; comparison-addition model; Fibonacci heap;
D O I
10.1016/j.amc.2006.06.094
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
On a network with nonnegative-length edges, Dijkstra's shortest path algorithm computes single-source shortest path in O(m + n log n) time. The time bound assumes that a Fibonacci heap is used during the implementation of Dijkstra's algorithm. As the process of building heaps needs a little complex work, it makes the algorithm not easy to be used. In this paper, we make some very simple, but useful, changes in the original Dijkstra algorithm and obtain a new improved Dijkstra's shortest path algorithm that avoids the process of building heap and runs in O(m + D(max)log(n!)) time. Here m, n and D-max are the number of edges, vertices and the maximal number of edges incident with vertex, respectively. Thus, the new algorithm is very competitive for those sparse networks especially in road traffic networks in which D-max is often a small number. (c) 2006 Elsevier Inc. All rights reserved.
引用
收藏
页码:247 / 254
页数:8
相关论文
empty
未找到相关数据