public PathWithValues GetIls(int start, int min) { var(cords, weights) = FileReader.ReadTestData(); var distances = CalculateDistances(cords); var result = AlgorithmRunner.ILS(distances, weights, min, start); return(result); }
public PathWithValues GetIlsRealData(int start, int min) { var(connections, distances, weights) = FileReader.ReadRealData(); var distancesArray = AlgorithmRunner.Dijkstra(connections, distances, 201); var result = AlgorithmRunner.ILS(distancesArray, weights, min, start); return(result); }