protected Population(int size, TSP tsp) { Size = size; Tsp = tsp; Individuals = new List <Individual>(); for (var i = 0; i < size; i++) { Individuals.Add(new Individual(tsp.Towns)); } Initialize(); }
public GreedyPopulation(int size, TSP tsp) : base(size, tsp) { }
public GreedyPopulation(TSP tsp) : base(tsp.Towns.Count, tsp) { }
public RandomPopulation(int size, TSP tsp) : base(size, tsp) { }