View source: R/xegaEvalPopulation.R
xegaEvalPopulation | R Documentation |
xegaEvalPopulation()
evaluates a population
of genes in a problem environment.
xegaEvalPopulation(pop, lF)
pop |
Population of genes. |
lF |
Local function configuration. |
Parallelization of the evaluation of fitness functions
is possible by defining lF$lapply
.
List of
$pop
gene vector,
$fit
fitness vector,
$evalFail
number of failed evaluations.
Other Population Layer:
xegaBestGeneInPopulation()
,
xegaBestInPopulation()
,
xegaInitPopulation()
,
xegaLogEvalsPopulation()
,
xegaNextPopulation()
,
xegaObservePopulation()
,
xegaRepEvalPopulation()
,
xegaSummaryPopulation()
pop5<-xegaInitPopulation(5, lFxegaGaGene)
lFxegaGaGene[["lapply"]]<-ApplyFactory(method="Sequential")
result<-xegaEvalPopulation(pop5, lFxegaGaGene)
result
lFxegaGaGene$Pipeline<-function() {TRUE}
pop5c<-asPipeline(pop5, lFxegaGaGene)
pop5c
result<-xegaEvalPopulation(pop5c, lFxegaGaGene)
result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.