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

View source: R/sgXMutationFactory.R

sgXMutationFactoryR Documentation

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")

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".

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")


xega documentation built on Feb. 17, 2026, 5:07 p.m.