收稿日期: 2016-05-20
修回日期: 2016-09-03
网络出版日期: 2016-12-01
基金资助
国家自然科学基金资助项目( 61573151, 61105019) ; 广东省自然科学基金资助项目( 2016A030313468)
A Hierarchical Dijkstra Algorithm for Solving Shortest Path from Constrained Nodes
Received date: 2016-05-20
Revised date: 2016-09-03
Online published: 2016-12-01
Supported by
Supported by the National Natural Science Foundation of China( 61573151, 61105019) and the Natural Science Foundation of Guangdong Province( 2016A030313468)
康文雄 , 许耀钊 . 节点约束型最短路径的分层Dijkstra 算法[J]. 华南理工大学学报(自然科学版), 2017 , 45(1) : 66 -73 . DOI: 10.3969/j.issn.1000-565X.2017.01.010
In order to obtain the shortest path from constrained nodes,a hierarchical Dijkstra algorithm is proposed on the basis of backtracking,which is able to find the global shortest path or the second shortest path by searching the local optimal solution within hierarchical structures.Moreover,this algorithm takes full advantage of the hierarchical structures in saving search progress to realize such operations as the saving and backtracking of the search progress during the searching of the shortest path.Experimental results show that the proposed algorithm increases space complexity slightly,but it can reduce the calls of Dijkstra algorithm effectively,and that,as compared with depth-first search algorithm and geometric algebra algorithm,the proposed algorithm may not always find the optimal solution in theory,but it works faster and can still find the sub-optimal solution more quickly even when data volume is large.
Key words: routing algorithms; shortest path; node constraint; backtracking; greedy algorithm
/
| 〈 |
|
〉 |