xegaGaGeneMapGray {xegaGaGene} | R Documentation |
xegaGaGenemapGray
maps the bit strings of
a binary string
interpreted as Gray codes to parameters in an interval.
Bit vectors are mapped into equispaced numbers in the interval.
Examples: Optimization of problems with real-valued
parameter vectors.
xegaGaGeneMapGray(gene, penv)
gene |
A binary gene (the genotype). |
penv |
A problem environment. |
The decoded gene (the phenotype).
Other Decoder:
xegaGaDecodeGene()
,
xegaGaGeneMapIdentity()
,
xegaGaGeneMapPerm()
,
xegaGaGeneMap()
gene<-xegaGaInitGene(lFxegaGaGene)
xegaGaGeneMapGray(gene$gene1, lFxegaGaGene$penv)