An optimized floyd algorithm for the shortest path problem

被引:45
|
作者
Wei D. [1 ]
机构
[1] Science and Technology Industry Division, Jilin Architectural and Civil Engineering Institute, Changchun
关键词
Car navigation system; Improved floyd algorithm; Route selection; The shortest path;
D O I
10.4304/jnw.5.12.1496-1504
中图分类号
学科分类号
摘要
There is too much iteration when using the traditional Floyd algorithm to calculate the shortest path, that is to say, the computation of traditional Floyd algorithm is too large for an urban road network with a large number of nodes. As for this disadvantage, the Floyd algorithm was improved and optimized further in this study; moreover, the improved Floyd algorithm was used to solve the shortest path problem in car navigation system, and it achieved good results. Two improvements were done: firstly, construct an iterative matrix for solving the shortest path, all the nodes in it were compared at first, and those nodes which have nothing to do with the results were removed, then search for the next node directly to reduce the frequency of iteration; Secondly, construct a serial number matrix for solving the shortest path, it was used to record the case of inserting node in the process of iteration. Finally, the frequency of iteration and the computational complexity were compared for both the traditional Floyd algorithm and the improved Floyd algorithm. The experimental results and analysis showed that the computational complexity of the improved Floyd algorithm has reduced to half of that of the traditional algorithm. What's more, by checking the iterative matrix and the serial number matrix, the shortest path can be found out simply, intuitively and efficiently. © 2010 Academy Publisher.
引用
收藏
页码:1496 / 1504
页数:8
相关论文
共 50 条
  • [31] Application of Genetic Algorithm in modeling of Shortest Path problem
    Yang, Zhihui
    Xia, Huiwen
    Su, Fuwen
    Zhao, Jiayu
    Feng, Fan
    2020 CHINESE AUTOMATION CONGRESS (CAC 2020), 2020, : 3447 - 3450
  • [32] An improved solution algorithm for the constrained shortest path problem
    Santos, Luis
    Coutinho-Rodrigues, Joao
    Current, John R.
    TRANSPORTATION RESEARCH PART B-METHODOLOGICAL, 2007, 41 (07) : 756 - 771
  • [33] A Hybrid Algorithm for the shortest-path problem in the graph
    Aghaei, Mohammad Reza Soltan
    Zukarnain, Zuriati Ahmad
    Mamat, Ali
    Zainuddin, Hishamuddin
    2008 INTERNATIONAL CONFERENCE ON ADVANCED COMPUTER THEORY AND ENGINEERING, 2008, : 251 - +
  • [34] Exploration of Shortest Path Problem Based on Genetic Algorithm
    Kang, Xiaojun
    Wang, Yun
    PROGRESS IN INTELLIGENCE COMPUTATION AND APPLICATIONS, 2008, : 15 - 17
  • [35] Research of a genetic algorithm for shortest path routing problem
    Zhang, Yong-Jun
    Gao, Lan-Fang
    Gu, Wan-Yi
    Beijing Ligong Daxue Xuebao/Transaction of Beijing Institute of Technology, 2007, 27 (11): : 1005 - 1008
  • [36] An incremental algorithm for a generalization of the shortest-path problem
    Computer Science Department, University of Wisconsin-Madison, 1210 West Dayton Street, Madison, Wisconsin 53706
    J Algorithms, 2 (267-305):
  • [37] An outer approximation algorithm for the robust shortest path problem
    Shahabi, Mehrdad
    Unnikrishnan, Avinash
    Boyles, Stephen D.
    TRANSPORTATION RESEARCH PART E-LOGISTICS AND TRANSPORTATION REVIEW, 2013, 58 : 52 - 66
  • [38] An Improved Genetic Algorithm Based on the Shortest Path Problem
    Liu, Zhendong
    Kong, Yawei
    Su, Bin
    2016 IEEE INTERNATIONAL CONFERENCE ON INFORMATION AND AUTOMATION (ICIA), 2016, : 328 - 332
  • [39] A new algorithm for the fuzzy shortest path problem in a network
    Wu, Zezhong
    Zheng, Fenghua
    PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON MANAGEMENT SCIENCE AND ENGINEERING MANAGEMENT, 2009, : 134 - 140
  • [40] A SUCCESSIVE SHORTEST-PATH ALGORITHM FOR THE ASSIGNMENT PROBLEM
    ENGQUIST, M
    INFOR, 1982, 20 (04) : 370 - 384