public GeneticAlgorithmTsp(int iterations, Tsp tsp, int size) { Iterations = iterations; Tsp = tsp; Population = new List <Solution>(); Size = size; }
public Solution(IEnumerable <int> ordering) { Ordering = new List <int>(ordering); Tsp.Evaluate(this); }