Learn R Programming

xegaGaGene (version 1.0.0.6)

xegaGaDecodeGene: Decode a gene.

Description

xegaGaDecodeGene() decodes a binary gene.

Usage

xegaGaDecodeGene(gene, lF)

Value

The decoded gene (the phenotype).

Arguments

gene

A binary gene (the genotype).

lF

The local configuration of the genetic algorithm.

See Also

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

Examples

Run this code
gene<-xegaGaInitGene(lFxegaGaGene)
xegaGaDecodeGene(gene, lFxegaGaGene)

Run the code above in your browser using DataLab