示例#1
0
 /// <summary>
 /// Replaces genotype with the parts of split
 /// </summary>
 /// <param name="genotype"></param>
 /// <param name="split"></param>
 private void RestoreGenotype(Genotype genotype, List <Genotype>[] split)
 {
     genotype.Clear();
     foreach (var day in split)
     {
         foreach (var part in day)
         {
             genotype.AddRange(part);
         }
     }
 }