An optimized floyd algorithm for the shortest path problem

被引:44
|
作者
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 条
  • [21] Multi-Point Shortest Path in the Complex Road Network Based on Floyd Algorithm
    Li, Ying
    Li, Donghui
    Yu, Yaping
    INFORMATION COMPUTING AND APPLICATIONS, ICICA 2013, PT II, 2013, 392 : 364 - 372
  • [22] Modelling the Shortest Path for Inner Warehouse Travelling Using the Floyd-Warshall Algorithm
    Nordin, Noraimi Azlin Mohd
    Shariff, S. Sarifah Radiah
    Supadi, Siti Suzlin
    Masudin, Ilyas
    MATHEMATICS, 2024, 12 (17)
  • [23] A New Algorithm for Solving Multicriteria Shortest Path Problem
    MA Liang\ \ WANG Long\|de College of Systems Science and Systems Engineering
    Journal of Systems Science and Systems Engineering, 1999, (03) : 335 - 339
  • [24] AN ALGORITHM FOR THE RESOURCE CONSTRAINED SHORTEST-PATH PROBLEM
    BEASLEY, JE
    CHRISTOFIDES, N
    NETWORKS, 1989, 19 (04) : 379 - 394
  • [25] A DUAL ALGORITHM FOR THE CONSTRAINED SHORTEST-PATH PROBLEM
    HANDLER, GY
    ZANG, I
    NETWORKS, 1980, 10 (04) : 293 - 310
  • [26] Parallel Ant Colony Algorithm for Shortest Path Problem
    Katona, Geza
    Lenart, Balazs
    Juhasz, Janos
    PERIODICA POLYTECHNICA-CIVIL ENGINEERING, 2019, 63 (01): : 243 - 254
  • [27] A PARALLEL SHORTEST AUGMENTING PATH ALGORITHM FOR THE ASSIGNMENT PROBLEM
    BALAS, E
    MILLER, D
    PEKNY, J
    TOTH, P
    JOURNAL OF THE ACM, 1991, 38 (04) : 985 - 1004
  • [28] New algorithm for the shortest path problem with nonnegative weights
    Zhang, Zhongzhen
    Tang, Xiaowo
    Dianzi Keji Daxue Xuebao/Journal of University of Electronic Science and Technology of China, 1995, 24 (05):
  • [29] Solving fuzzy shortest path problem by genetic algorithm
    Syarif, A.
    Muludi, K.
    Adrian, R.
    Gen, M.
    INDONESIAN OPERATIONS RESEARCH ASSOCIATION - INTERNATIONAL CONFERENCE ON OPERATIONS RESEARCH 2017, 2018, 332
  • [30] 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