private static void RunAlgorithm(TspAlgorithmBase algorithm, IDictionary <int, int>[] data) { Console.WriteLine(algorithm.ShortestRoute.Value); algorithm.CalculateRoutes(data); ResultExporter.Save(algorithm); Console.WriteLine("Zapisano:" + algorithm.Name); }
public static void Report4(IDictionary <int, int>[] data) { var rrC = new RunnerRoutesComparer { CountRoutes = 1000 }; rrC.CalculateRoutes(data); rrC.CompareRoutes(); ResultExporter.SaveRoutescomparisions(rrC); }