xegaLogEvalsPopulation: Combine fitness, generations, and the phenotype of the gene.

View source: R/xegaPopulation.R

xegaLogEvalsPopulationR Documentation

Combine fitness, generations, and the phenotype of the gene.

Description

Combine fitness, generations, and the phenotype of the gene.

Usage

xegaLogEvalsPopulation(pop, evallog, generation, lF)

Arguments

pop

Population.

evallog

Evaluation log.

generation

Generation logged.

lF

Local function configuration.

Value

Update of the evaluation log. The evaluation log is a list of decoded and evaluated genes. A list item of the evaluation log has the following elements:

  • $generation: The generation.

  • $fit: The fitness value.

  • $sigma: The standard deviation of the fitness value, if it exists. Default: 0.

  • $obs: The number of observations for computing the fitness value, if it exists. Default: 0.

  • $phenotype: The phenotype of the gene.

See Also

Other Population Layer: xegaBestGeneInPopulation(), xegaBestInPopulation(), xegaEvalPopulation(), xegaInitPopulation(), xegaNextPopulation(), xegaObservePopulation(), xegaRepEvalPopulation(), xegaSummaryPopulation()

Examples

pop10<-xegaInitPopulation(10, lFxegaGaGene)
epop10<-xegaEvalPopulation(pop10, lFxegaGaGene)
logevals<-list()
logevals
logevals<-xegaLogEvalsPopulation(epop10$pop, logevals, 1, lFxegaGaGene)
logevals

xegaPopulation documentation built on Aug. 22, 2025, 5:14 p.m.