xegaLogEvalsPopulation {xegaPopulation} | R Documentation |
Combine fitness, generations, and the phentype of the gene.
xegaLogEvalsPopulation(pop, evallog, generation, lF)
pop |
Population. |
evallog |
Evaluation log. |
generation |
Generation logged. |
lF |
Local function configuration. |
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.
$phenotype
: The phenotype of the gene.
Other Population Layer:
xegaBestGeneInPopulation()
,
xegaBestInPopulation()
,
xegaEvalPopulation()
,
xegaInitPopulation()
,
xegaNextPopulation()
,
xegaObservePopulation()
,
xegaSummaryPopulation()
pop10<-xegaInitPopulation(10, lFxegaGaGene)
epop10<-xegaEvalPopulation(pop10, lFxegaGaGene)
logevals<-list()
logevals
logevals<-xegaLogEvalsPopulation(epop10$pop, logevals, 1, lFxegaGaGene)
logevals