示例#1
0
文件: Population.cs 项目: daywee/BIA
 public void CreateNewPopulation()
 {
     CurrentPopulation = Algorithm.SeedPopulation(BaseCitiesSequence, _populationSize);
     CurrentPopulation.ForEach(e => e.CalculateCost());
     SetBestSequence();
     Generation = 0;
 }