pointMutation {dGAselID} | R Documentation |
pointMutation
Description
Operator for the point mutation.
Usage
pointMutation(individuals, mutationChance)
Arguments
individuals |
dataset returned by Individuals(). |
mutationChance |
chance for a point mutation to occur. |
Examples
## Not run:
library(ALL)
data(ALL)
demoALL<-ALL[1:12,1:8]
set.seed(1234)
population<-InitialPopulation(demoALL, 4, 9)
individuals<-Individuals(population)
individuals
set.seed(123)
pointMutation(individuals, 4)
## End(Not run)
[Package dGAselID version 1.2 Index]