예제 #1
0
 public void InitializePopulationWithGenotype(IEnumerable <Genotype> population)
 {
     currentPopulation = new List <Genotype>((int)PopulationSize);
     for (int i = 0; i < PopulationSize; i++)
     {
         currentPopulation.Add(Genotype.LoadFromFile(PathToInitGenotypeFrom));
     }
 }