xegaRepEvalPopulation {xegaPopulation}R Documentation

Evaluates a population of genes in a a problem environment repeatedly.

Description

xegaRepEvalPopulation() evaluates a population of genes in a problem environment lF$rep times. The results of repeatedly evaluating a gene are aggregated:

Usage

xegaRepEvalPopulation(pop, lF)

Arguments

pop

Population of genes.

lF

Local function configuration.

Details

Parallelization of the evaluation of fitness functions is possible by defining lF$lapply.

Value

List of

See Also

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

Examples

    parm<-function(x){function() {return(x)}}
pop10<-xegaInitPopulation(10, lFxegaGaGene)
lFxegaGaGene[["lapply"]]<-ApplyFactory(method="Sequential") 
lFxegaGaGene[["rep"]]<-parm(3) 
result<-xegaRepEvalPopulation(pop10, lFxegaGaGene)


[Package xegaPopulation version 1.0.0.7 Index]