Adds FloydWarshall algorithm use to reduce the number of pairs of nodes of the graph for which the FordBellman KShortest paths algorithm is invoked.