International Journal of Physical Sciences Research (IJPSR)

EA Journals

Comparison of Floyd-Warshall and Mills Algorithms for Solving All Pairs Shortest Path Problem:Case Study of Sunyani Municipality

Abstract

The Floyd-Warshall and Mill algorithm were used to determine the all pair shortest paths within the Sunyani Municipality so as to compare which of the algorithms runs faster on the computer. The two algorithms were used on a network of 80 nodes with respective edge distances in matrix format as inputs. Matlab codes were generated to run the algorithms. All the two algorithms were able to compute the all pair shortest paths. The running time for the Floyd-Warshall and Mills are 1057.22 and 444.53 ( in seconds ) respectively. The two algorithms computed the shortest path from node 1 (Ohunukurom) to node 80 (Addae Boreso) to be 17.3000 km. Based on this study, it is convenient to conclude that Mills decomposition algorithm runs more faster on a computer than the Floyd-Warshall algorithm

Keywords: Algorithm, Computations, Node, Running time, Shortest path, infinite

cc logo

This work by European American Journals is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 4.0 Unported License

 

Recent Publications

Email ID: submission@ea-journals.org
Impact Factor: 7.08
Print ISSN: 2515-0391
Online ISSN: 2515-0405
DOI: https://doi.org/10.37745/ijpsr.17

Author Guidelines
Submit Papers
Review Status

 

Scroll to Top

Don't miss any Call For Paper update from EA Journals

Fill up the form below and get notified everytime we call for new submissions for our journals.