International Journal of Mathematics and Computer Science, 15(2020), no. 1, 347–365 M CS An All Pairs Shortest Path Algorithm for Dynamic Graphs Muteb Alshammari 1 , Abdelmounaam Rezgui 2 1 Department of Computer Science & Engineering New Mexico Tech Socorro, NM, 87801, USA 2 School of Information Technology Illinois State University Normal, IL 61790-5150, USA email: mutebalshammari@cs.nmt.edu (Received October 12, 2019, Accepted November 23, 2019) Abstract Graphs are mathematical structures used in many applications. In recent years, many applications emerged that require the processing of large dynamic graphs where the graph’s structure and properties change constantly over time. Examples include social networks, com- munication networks, transportation networks, etc. One of the most challenging problems in large scale dynamic graphs is the all-pairs, shortest path (APSP) problem. Traditional solutions (based on Dijk- stra’s algorithms) to the APSP problem do not scale to large dynamic graphs with a high change frequency. In this paper, we propose an efficient APSP algorithm for large sparse dynamic graphs. We first present our algorithm and then we give an analytical evaluation of the proposed solution. We also present a thorough experimental study of our solution and compare it to two of the best known algorithms in the literature. Key words and phrases: Dynamic graphs, shortest paths, APSP. AMS (MOS) Subject Classifications: 05C85, 68R10, 68R05. ISSN 1814-0432, 2020, http://ijmcs.future-in-tech.net