SHANDONG SCIENCE ›› 2018, Vol. 31 ›› Issue (2): 64-71.doi: 10.3976/j.issn.1002-4026.2018.02.011

• Tranfic and Transportation • Previous Articles     Next Articles

An algorithm for point to point shortest paths based on preprocessing

LU Wen-qi, GU Yuan-li, LI Meng, WANG Shuo, ZHANG Yuan   

  1. MOE Key Laboratory for Urban Transportation Complex Systems Theory and Technology, Beijing Jiaotong University, Beijing 100044, China
  • Received:2017-06-14 Online:2018-04-20 Published:2018-04-20

Abstract:

Based on the classical Dijkstra algorithm, an algorithm for point to point shortest paths based on preprocessing was studied. The bidirectional Dijkstra algorithm and the reachbased preprocessing method were introduced to establish the new RE algorithm in this paper. The program of the new algorithm was compiled with C++ and the new algorithm was applied to traffic engineering field. Traffic networks considering delay on roads and intersections were constructed by using EFSS data structure to test the applicability and efficiency of RE algorithm. The results reveal that compared with the original Dijkstra algorithm, the RE algorithm has a significant increase in the search speed and can ensure the correctness of path query. On largescale networks, the new RE algorithm shows great advantages and its query time is approximately 10% of the Dijkstra algorithm.

Key words: reach-based pruning method, route optimization, RE algorithm, bidirectional Dijkstra algorithm

CLC Number: 

  • U116.2