internal void LeastCostPaths() { FloydWarshallDistanceTester tester = new FloydWarshallDistanceTester( Distances, new FloydWarshallShortestPathDistanceTester() ); FloydWarshallAllShortestPathAlgorithm fw = new FloydWarshallAllShortestPathAlgorithm( VisitedGraph, tester ); fw.Compute(); fw.CheckConnectivityAndNegativeCycles(Distances); }