public void CreateNewPopulation() { CurrentPopulation = Algorithm.SeedPopulation(BaseCitiesSequence, _populationSize); CurrentPopulation.ForEach(e => e.CalculateCost()); SetBestSequence(); Generation = 0; }
public void CreateNewPopulation() { CurrentPopulation = Algorithm.SeedPopulation(BaseCitiesSequence, _populationSize); CurrentPopulation.ForEach(e => e.CalculateCost()); SetBestSequence(); Generation = 0; }