xegaDfGeneMapIdentity {xegaDfGene}R Documentation

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

Description

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

This representation simplifies the implementation af various optimizations and generalizations.

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.0 Index]