Пример #1
0
 /// <summary>
 /// Mutates the genes in the <see cref="Chromosome"/> by using the
 /// specified <see cref="IMutator"/>.
 /// </summary>
 /// <param name="mutator"></param>
 /// <param name="mutationProbabilityGene"></param>
 /// <param name="random"></param>
 public void Mutate(IMutator mutator, double mutationProbabilityGene, IRandomNumberGenerator random)
 {
     Genes = mutator.MakeMutation(Genes, mutationProbabilityGene, random);
 }