Association Journal of CSIAM
Supervised by Ministry of Education of PRC
Sponsored by Xi'an Jiaotong University
ISSN 1005-3085  CN 61-1269/O1

Chinese Journal of Engineering Mathematics ›› 2021, Vol. 38 ›› Issue (5): 709-720.doi: 10.3969/j.issn.1005-3085.2021.05.010

Previous Articles     Next Articles

A Dijkstra Shortest Path Optimization Method Based on Binary Heap

WANG Zhilin1,   QIAO Xinhui2,   MA Xu2,   YAN Yan2   

  1. 1. State Grid Shaanxi Electric Power Company Limited, Xi'an 710048
    2. Beijing North-Star Digital Remote Sensing Technology Company, Beijing 100120
  • Online:2021-10-15 Published:2021-12-15

Abstract:

This paper is concerned with the problem that the calculations of Dijkstra algorithm increase rapidly with the amount of data. First of all, the minimum binary heap as the auxiliary data structure of Dijkstra shortest path algorithm is proposed, which can effectively reduce the  calculations and improve the operation efficiency. Then, the distance data and train accessibility data of 31 provincial capitals in China (excluding Hong Kong, Macao and Taiwan) are chosen in the numerical simulations. Finally, the results indicate that it is much faster to find the shortest path by applying the binary heap optimization algorithm than the traditional algorithms, and it is more obvious when increasing scale of the problem. It is conclued that the binary heap optimization algorithm is able to significantly improve the computational efficiency.

Key words: shortest path algorithm, binary heap, algorithm optimization, computational efficiency

CLC Number: