xegaGaGeneMapGray {xegaGaGene} | R Documentation |
Map the bit strings of a gray-coded gene to parameters in an interval.
Description
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.
Usage
xegaGaGeneMapGray(gene, penv)
Arguments
gene |
A binary gene (the genotype). |
penv |
A problem environment. |
Value
The decoded gene (the phenotype).
See Also
Other Decoder:
xegaGaDecodeGene()
,
xegaGaGeneMapIdentity()
,
xegaGaGeneMapPerm()
,
xegaGaGeneMap()
Examples
gene<-xegaGaInitGene(lFxegaGaGene)
xegaGaGeneMapGray(gene$gene1, lFxegaGaGene$penv)
[Package xegaGaGene version 1.0.0.1 Index]