Description Usage Arguments Examples
This function intializes the population.
1 | popInitial(popNum = 100, geneLength, zeroRate = 0.5)
|
popNum |
integer; What is the population size of chromosomes? Default to 100 |
geneLength |
integer; number of genes (0/1) on a chromosome |
zeroRate |
numeric; below or equal to 1 and above or equal to 0; What is the rate of zero among the genes of the first generation? Defaults to 0.5 |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.