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 条
  • [1] FLOYD Algorithm Based on the Shortest Path in GIS
    Liao, Yv Mei
    Zhong, Jie
    INFORMATION AND BUSINESS INTELLIGENCE, PT I, 2012, 267 : 574 - +
  • [2] Speeding up the Floyd-Warshall algorithm for the cycled shortest path problem
    Aini, Asghar
    Salehipour, Amir
    APPLIED MATHEMATICS LETTERS, 2012, 25 (01) : 1 - 5
  • [3] A new exact algorithm for the shortest path problem: An optimized shortest distance matrix
    Yuan, Huilin
    Hu, Jianlu
    Song, Yufan
    Li, Yanke
    Du, Jie
    COMPUTERS & INDUSTRIAL ENGINEERING, 2021, 158
  • [4] Floyd-warshall algorithm to determine the shortest path based on android
    Ramadiani
    Bukhori, D.
    Azainil
    Dengen, N.
    1ST INTERNATIONAL CONFERENCE ON TROPICAL STUDIES AND ITS APPLICATION (ICTROPS), 2018, 144
  • [5] Prims Aided Floyd Warshall Algorithm for Shortest Path Identification in Microgrid
    Swathika, O. V. Gnana
    Hemamalini, S.
    EMERGING TRENDS IN ELECTRICAL, COMMUNICATIONS AND INFORMATION TECHNOLOGIES, 2017, 394 : 283 - 291
  • [6] The Optimized Algorithm of Finding the Shortest Path in a Multiple Graph
    A. V. Smirnov
    Automatic Control and Computer Sciences, 2024, 58 (7) : 745 - 752
  • [7] An Approximation Algorithm for an Assisted Shortest Path Problem
    Montez, Christopher
    Rathinam, Sivakumar
    Darbha, Swaroop
    Casbeer, David
    Manyam, Satyanarayana Gupta
    2021 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA 2021), 2021, : 8024 - 8030
  • [8] Discussion on a Simplified Algorithm for the Shortest Path Problem
    Cuiyan
    Litong
    Renshupo
    2008 INTERNATIONAL WORKSHOP ON INFORMATION TECHNOLOGY AND SECURITY, 2008, : 66 - 69
  • [9] Models and algorithm for stochastic shortest path problem
    Ji, XY
    APPLIED MATHEMATICS AND COMPUTATION, 2005, 170 (01) : 503 - 514
  • [10] Models and algorithm for Stochastic shortest path problem
    Ji, Xiaoyu
    Proceedings of the Third International Conference on Information and Management Sciences, 2004, 3 : 320 - 325