Example #1
0
 public GeneticAlgorithm(IGeneticsSettings settings)
 {
     MutationRate     = settings.MutationRate;
     CrossoverRate    = settings.CrossoverRate;
     PerturbationRate = settings.MaxPerturbation;
     EliteCount       = settings.EliteCount;
 }
 public GeneticAlgorithm(IGeneticsSettings settings)
 {
     MutationRate = settings.MutationRate;
     CrossoverRate = settings.CrossoverRate;
     PerturbationRate = settings.MaxPerturbation;
     EliteCount = settings.EliteCount;
 }