Speeding up the Floyd-Warshall algorithm for the cycled shortest path problem

被引:66
作者
Aini, Asghar [2 ]
Salehipour, Amir [1 ]
机构
[1] Islamic Azad Univ, S Tehran Branch, Sch Ind Engn, Tehran, Iran
[2] Shahid Sattari Air Univ, Sch Comp Engn, Tehran 1384637945, Iran
关键词
The shortest path problem with a cycle; The Floyd-Warshall algorithm; The Rectangular algorithm;
D O I
10.1016/j.aml.2011.06.008
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
On a network with a cycle, where at least one cycle exists, the Floyd-Warshall algorithm is one of the algorithms most used for determining the least cost path between every pair of nodes. In this work a new algorithm for this problem is developed that requires less computational effort than the Floyd-Warshall algorithm. Furthermore, we show that the basis of our algorithm is much easier to understand, which might be an advantage for educational purposes. A small example validates our algorithm and shows its implementation. (C) 2011 Elsevier Ltd. All rights reserved.
引用
收藏
页码:1 / 5
页数:5
相关论文
共 7 条