//old population generation method using the old generate function static void GeneratePopulation() { for (int i = 0; i < PopulationSize; i++) { DNA dna = new DNA(); dna.Generate(); Population.Add(dna); } }
//old population generation method using the old generate function static void GeneratePopulation() { for (int i = 0; i < PopulationSize; i++) { DNA dna = new DNA(); dna.Generate(); Population.Add(dna); } }