I'm want to use the kShortestPaths algorithm to generate the best shortest paths, but it's behaving strangely.
I tried setting k to 1, expecting that would give the same result as the shortestPath algorithm, but it doesn't. The shortestPath algorithm...