xegaPermMutationFactory {xegaPermGene} | R Documentation |
Configure the mutation function of a genetic algorithm.
Description
xegaPermMutationFactory
implements the selection
of one of the gene mutation functions in this
package by specifying a text string.
The selection fails ungracefully (produces
a runtime error), if the label does not match.
The functions are specified locally.
Current Support:
"MutateGene" returns
xegaPermMutateGeneOrderBased
."MutateGeneOrderBased" returns
xegaPermMutateGeneOrderBased
."MutateGenekInversion" returns
xegaPermMutateGenekInversion
."MutateGene2Opt" returns
xegaPermMutateGene2Opt
."MutateGenekOptLK" returns
xegaPermMutateGenekOptLK
."MutateGeneGreedy" returns
xegaPermMutateGeneGreedy
."MutateGeneBestGreedy" returns
xegaPermMutateGeneBestGreedy
."MutateGeneMix" returns
xegaPermMutateMix
.
Usage
xegaPermMutationFactory(method = "MutateGene")
Arguments
method |
The name of the mutation method. |
Value
A permutation based mutation function.
See Also
Other Configuration:
lFxegaPermGene
,
xegaPermCrossoverFactory()
Examples
xegaPermMutationFactory(method="MutateGene")