Skip to main content
. 2011 Jul 26;18(4):233–251. doi: 10.1093/dnares/dsr016
Pseudocode: create initial population
for each chromosome j
  for each bit i of j
   set i = 0
   do with a probability of start_chromosome_size/|set_of_all_genes|
    set i = 1
   end do
  end for
  compute fitness of the chromosome
end for