Graph, Graph Algorithm.
we initialize distances with a very large number like 1000000.0, except for the source, which is initialized to 0.0, since the distance from the source to the source itself is zero. Let’s take a look into the function sssp that solves the SSSP problem by using the VCM model from Line 33 to Line 59.