jakobbossek / ecr2

ecr: Evolutionary Computation in R (version 2)
https://jakobbossek.github.io/ecr2/
42 stars 8 forks source link

Difference between "Probability of mutation of each gene" and "Probability to apply mutation to a child" #93

Closed kevinwolz closed 5 years ago

kevinwolz commented 6 years ago

At first (probably because I am a dumb, EMOA novice), I was selecting a "mutation rate" and applying it to both:

In fact, these are not the same thing at all! The same exact can be said for the analagous arguments related to recombination probabilities.

I'm not sure the best way to do this, but perhaps the documentation and vignette can do a better job of distinguishing between these two values. It's also probably a good idea to have a specific documentation page that defines "gene", "child", etc. so that it is completely clear.

jakobbossek commented 5 years ago

@thllwg Please make it more explicit in the documentation of ecr::mutate and eco::generateOffspring what p.mut actually is good for and refer to further parameters of the specific mutation operators. However, we will not cover the difference between gene, allele, child etc. in the package documentation.