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

View source: R/xegaGaDecode.R

xegaGaGeneMapR 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)


xegaGaGene documentation built on April 16, 2025, 5:11 p.m.