sgXGeneMapFactory: Factory for configuring a gene-dependent geneMap function.

View source: R/sgXGeneMapFactory.R

sgXGeneMapFactoryR Documentation

Factory for configuring a gene-dependent geneMap function.

Description

The geneMap function depends on the gene representation and the algorithm selected.

Usage

sgXGeneMapFactory(algorithm = "sga", method = "Bin2Dec")

Arguments

algorithm

Algorithm. Available: "sga", "sgde", "sgperm", "sge", sgp". Default: "sga".

method

The GeneMap method. The choices depend on the algorithm.

Details

Methods available for the different algorithms are:

  • "sga": "Bin2Dec", "Gray2Dec", "Identity", "Permutation".

  • "sgde": "Identity".

  • "sgperm": "Identity". The gene map function is not used in the decoder.

  • "sgp": "Identity". The gene map function is not used in the decoder.

  • "sge": "Mod" or "Bucket".

  • "sgede": "Identity".

Value

GeneMap function for the selected algorithm from the correct package.

See Also

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

Examples

sgXGeneMapFactory(algorithm="sga", method="Bin2Dec")


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

Related to sgXGeneMapFactory in xega...