powered by
SummaryPopulation() reports on the fitness and the value of the best solution in the population.
SummaryPopulation()
The value of lF$Verbose() controls the information displayed:
lF$Verbose()
== 0: Nothing is displayed.
== 0
== 1: 1 point per generation.
== 1
> 1: Max(fit), number of solutions, indices.
> 1
> 2: and population fitness statistics.
> 2
> 3: and 1 solution.
> 3
xegaSummaryPopulation(pop, fit, lF, iter = 0)
The number 0.
0
Population of genes.
Vector of fitness values of pop.
pop
Local function configuration.
The generation. Default: 0.
Other Population Layer: xegaBestGeneInPopulation(), xegaBestInPopulation(), xegaEvalPopulation(), xegaInitPopulation(), xegaLogEvalsPopulation(), xegaNextPopulation(), xegaObservePopulation(), xegaRepEvalPopulation()
xegaBestGeneInPopulation()
xegaBestInPopulation()
xegaEvalPopulation()
xegaInitPopulation()
xegaLogEvalsPopulation()
xegaNextPopulation()
xegaObservePopulation()
xegaRepEvalPopulation()
pop10<-xegaInitPopulation(10, lFxegaGaGene) epop10<-xegaEvalPopulation(pop10, lFxegaGaGene) rc<-xegaSummaryPopulation(epop10$pop, epop10$fit, lFxegaGaGene, iter=12)
Run the code above in your browser using DataLab