Speeding up the Floyd-Warshall algorithm for the cycled shortest path problem |
| |
Authors: | Asghar Aini Amir Salehipour |
| |
Affiliation: | a School of Computer Engineering, Shahid Sattari Air University, 13846-37945, Iranb School of Industrial Engineering, Islamic Azad University-South Tehran Branch, Tehran, Iran |
| |
Abstract: | 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. |
| |
Keywords: | The shortest path problem with a cycle The Floyd-Warshall algorithm The Rectangular algorithm |
本文献已被 ScienceDirect 等数据库收录! |
|