sgXMutationFactory {xega} | R Documentation |
Factory for configuring a gene dependent Mutation function.
Description
sgXMutationFactory()
selects
the algorithm specific crossover factory and
the method in this factory.
Usage
sgXMutationFactory(algorithm = "sga", method = "MutateGene")
Arguments
algorithm |
Algorithm. Available: "sga", "sgde", "sgperm", "sge", sgp". Default: "sga". |
method |
Method. Available methods are package-dependent. |
Details
The available methods for each factory are:
"sga": "MutateGene", "IVM".
"sge": "MutateGene", "IVM".
"sgp": "MutateGene".
"sgde": "MutateGeneDE".
"sgperm": "MutateGeneOrderBased", "MutateGenekInversion", "MutateGene2Opt", "MutateGenekOptLK", "MutateGeneGreedy", "MutateGeneBestGreedy", "MutateGeneMix".
Value
MutateGene Function for the selected algorithm from the correct package.
See Also
Other Configuration:
sgXCrossoverFactory()
,
sgXDecodeGeneFactory()
,
sgXGeneMapFactory()
,
sgXInitGeneFactory()
,
sgXReplicationFactory()
Examples
sgXMutationFactory(algorithm="sga", method="MutateGene")