xegaDfGeneMapIdentity {xegaDfGene}R 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)


[Package xegaDfGene version 1.0.0.3 Index]