xegaGaGeneMap {xegaGaGene}R Documentation

Map the bit strings of a binary gene to parameters in an interval.

Description

xegaGaGenemap maps the bit strings of a binary string 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

xegaGaGeneMap(gene, penv)

Arguments

gene

A binary gene (the genotype).

penv

A problem environment.

Value

The decoded gene (the phenotype).

See Also

Other Decoder: xegaGaDecodeGene(), xegaGaGeneMapGray(), xegaGaGeneMapIdentity(), xegaGaGeneMapPerm()

Examples

gene<-xegaGaInitGene(lFxegaGaGene)
xegaGaGeneMap(gene$gene1, lFxegaGaGene$penv)


[Package xegaGaGene version 1.0.0.1 Index]