Learn R Programming

xegaDfGene (version 1.0.0.5)

xegaDfGeneMapIdentity: Map the parameter vector of a real-coded gene to an identical vector.

Description

xegaDfGeneMapIdentity() maps the real parameter vector to an identical vector.

Usage

xegaDfGeneMapIdentity(gene, penv)

Value

Decoded gene (the phenotype).

Arguments

gene

Real-coded gene (the genotype).

penv

Problem environment.

Details

A gene is a list with

  1. $evaluated: Boolean. TRUE if the fitness is known.

  2. $fit: The fitness of the genotype of $gene1.

  3. $gene1: A real parameter vector (the genotopye).

See Also

Other Decoder: xegaDfDecodeGene()

Examples

Run this code
gene<-xegaDfInitGene(lFxegaDfGene)
xegaDfGeneMapIdentity(gene$gene1, lFxegaDfGene$penv)

Run the code above in your browser using DataLab