mutation {seao} | R Documentation |
Ad random parameter values are selected and changed, giving a uniform or normal probability distribution.
mutation(struc.ea, gen=NULL, method=list(base="unif", spread=1, rate=15))
struc.ea |
An evolutionary algorithm structure |
gen |
The number of the generation (batch) for which the parents have to be chosen. The standard value is the last generation. |
method |
Some evolutionary parameters to set. This contains whether a uniform ('unif') or normal ('norm') distribution should be used, whether the spread value (if this is set to 0, a value of 1 is used), and to set the paramater value randomization rate. |
The function returns an evolutionary algorithm object, which is
actually the same as the input argument struc.ea
, but in which
the a generation is transformed:
genes |
a list containing the genome (parameter set)
stucture. This is the same as the genome (parameter set) structure
of in the input (struc.ea$genes ). |
generations |
a list of structures with information of each
generation:
|
As for all functions in this package, evolutionary terminology is used
as described in seao.terminology
.
Kurt Sys (kurt.sys@rug.ac.be)
genomestruc, newgen, chooseparents, selectparents, crossover