Journal of Northeastern University Natural Science ›› 2017, Vol. 38 ›› Issue (7): 1037-1042.DOI: 10.12068/j.issn.1005-3026.2017.07.026

• Resources & Civil Engineering • Previous Articles     Next Articles

A Reoptimization-Based All-Pairs Shortest Path Algorithm for Large-Scale Network—RASP Algorithm

JIANG Jin-cheng1, WU Li-xin2,3, ZHANG Yuan-yuan4, LIU Shan-jun2   

  1. 1. Academy of Disaster Reduction and Emergency Management, Beijing Normal University, Beijing 100875, China; 2. School of Resources & Civil Engineering, Northeastern University, Shenyang 110819, China; 3. School of Geoscience and Info-Physics, Central South University, Changsha 410083, China; 4. College of Geoscience and Surveying Engineering, China University of Mining & Technology, Beijing 100083, China.
  • Received:2016-04-29 Revised:2016-04-29 Online:2017-07-15 Published:2017-07-07
  • Contact: WU Li-xin
  • About author:-
  • Supported by:
    -

Abstract: In order to improve the computational performance of searching all-pairs shortest paths in a large-scale network, an exact all-pairs shortest path method—RASP algorithm is proposed based on the reoptimization theory. First, the correlation and difference between the shortest path trees with different sources are analyzed. Second, the efficient conversion from a known single-source shortest path tree to another one with different source is achieved based on the reoptimization-based theory. Furthermore, the reoptimization-based all-pairs shortest path (RASP) algorithm utilizes this conversion method to calculate efficiently all-pairs shortest paths. At last, the time complexity of RASP algorithm is proved to be O(3n2+2nm). The experimental test demonstrates that RASP algorithm gains the advantage over Floyd, n-Dijkstra algorithms and their improved algorithms in both sparse and dense networks.

Key words: reoptimization, all-pairs, shortest path, large-scale network, Floyd algorithm, Dijkstra algorithm

CLC Number: