Pseudocode: recombination |
for 1 tosize_of_populationdo |
do with a probability of 0.8 |
select two chromosomes by roulette wheel selection |
combine the two chromosomes by uniform cross over |
end do |
add new chromosome to population |
end for |
Pseudocode: recombination |
for 1 tosize_of_populationdo |
do with a probability of 0.8 |
select two chromosomes by roulette wheel selection |
combine the two chromosomes by uniform cross over |
end do |
add new chromosome to population |
end for |