Learn R Programming

xega (version 0.9.0.18)

sgXMutationFactory: Factory for configuring a gene-dependent Mutation function.

Description

sgXMutationFactory() selects

  1. the algorithm-specific mutation factory and

  2. the method in this factory.

Usage

sgXMutationFactory(algorithm = "sga", method = "MutateGene")

Value

MutateGene function for the selected algorithm from the correct package.

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", "MutateAllGene", "MutateFilterGene".

  • "sgede": "MutateGene", "MutateGeneDE".

  • "sgde": "MutateGene", "MutateGeneDE".

  • "sgperm": "MutateGene", "MutateGeneOrderBased", "MutateGenekInversion", "MutateGene2Opt", "MutateGenekOptLK", "MutateGeneGreedy", "MutateGeneBestGreedy", "MutateGeneMix".

See Also

Other Configuration: sgXCrossoverFactory(), sgXDecodeGeneFactory(), sgXGeneMapFactory(), sgXInitGeneFactory(), sgXReplicationFactory()

Examples

Run this code
sgXMutationFactory(algorithm="sga", method="MutateGene")

Run the code above in your browser using DataLab