Graph, Graph Algorithm.
does not change and is_updated is set to False, we can break the while loop at the end of an iteration in Line 57 to Line 58. The core part of the function sssp lies between Line 39 and Line 55. The outer for loop at Line 39 iterates for each vertex in the graph. From Line 40 to Line 45, we get the