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

View source: R/xegaDfDecode.R

xegaDfGeneMapIdentityR Documentation

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)

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

Value

Decoded gene (the phenotype).

See Also

Other Decoder: xegaDfDecodeGene()

Examples

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


xegaDfGene documentation built on Aug. 22, 2025, 5:12 p.m.