Pseudocode: mutation |
for each chromosome j of the population |
for each bit i of j |
do with a probability of 0.1 × start_chomosome_size/|set_of_all_genes| |
flip bit i |
end do |
end for |
add new chromosome to population |
end for |
Pseudocode: mutation |
for each chromosome j of the population |
for each bit i of j |
do with a probability of 0.1 × start_chomosome_size/|set_of_all_genes| |
flip bit i |
end do |
end for |
add new chromosome to population |
end for |