Journal of South China University of Technology (Natural Science Edition) ›› 2017, Vol. 45 ›› Issue (1): 66-73.doi: 10.3969/j.issn.1000-565X.2017.01.010

• Computer Science & Technology • Previous Articles     Next Articles

A Hierarchical Dijkstra Algorithm for Solving Shortest Path from Constrained Nodes

KANG Wen-xiong XU Yao-zhao   

  1. School of Automation Science and Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
  • Received:2016-05-20 Revised:2016-09-03 Online:2017-01-25 Published:2016-12-01
  • Contact: 康文雄( 1976-) ,男,博士,副教授,主要从事计算机视觉及生物特征识别研究. E-mail:auwxkang@scut.edu.cn
  • About author:康文雄( 1976-) ,男,博士,副教授,主要从事计算机视觉及生物特征识别研究.
  • Supported by:

    Supported by the National Natural Science Foundation of China( 61573151, 61105019) and the Natural Science Foundation of Guangdong Province( 2016A030313468)

Abstract:

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

CLC Number: