sgXCrossoverFactory {xega} | R Documentation |
Factory for configuring a gene dependent Crossover function.
Description
sgXCrossoverFactory()
selects
the algorithm specific crossover factory and
the method in this factory.
Usage
sgXCrossoverFactory(algorithm = "sga", method = "CrossGene")
Arguments
algorithm |
Specifies algorithm. Available: "sga", "sgde", "sgperm", "sge", sgp". Default: "sga". |
method |
Crossover method. Algorithm (gene representation)
dependent. Default: |
Details
The available methods for each algorithm are:
"sga": "Cross2Gene", "UCross2Gene", "UPCross2Gene", "CrossGene", "UCrossGene", "UPCrossGene".
"sge": "Cross2Gene", "UCross2Gene", "UPCross2Gene", "CrossGene", "UCrossGene", "UPCrossGene".
"sgp": "CrossGene", "Cross2Gene".
"sgde": "CrossGene", "UCrossGene", "UPCrossGene".
"sgperm": "CrossGene", "Cross2Gene".
Value
Crossover Crossover function from the crossover factory of the selected package.
See Also
Other Configuration:
sgXDecodeGeneFactory()
,
sgXGeneMapFactory()
,
sgXInitGeneFactory()
,
sgXMutationFactory()
,
sgXReplicationFactory()
Examples
sgXCrossoverFactory(algorithm="sga", method="CrossGene")