xegaObservePopulation {xegaPopulation} | R Documentation |
xegaObservePopulation()
reports
summary statistics of the fitness of the population.
xegaObservePopulation(fit, v = vector())
fit |
Vector of fitness values of a population. |
v |
Vector of population statistic vectors. |
Population statistics are used for
implementing individually variable operator rates and
visualizing the progress of the algorithm.
Vector of population statistics. If position
x
modulo 8
equals
1
: Mean fitness.
2
: Min fitness.
3
: Lower-hinge
(approx. 1st quartile) of fitness.
4
: Median fitness.
5
: Upper-hinge
(approx. 3rd quartile) of fitness.
6
: Max fitness.
7
: Variance.
8
: Mean absolute deviation.
Other Population Layer:
xegaBestGeneInPopulation()
,
xegaBestInPopulation()
,
xegaEvalPopulation()
,
xegaInitPopulation()
,
xegaLogEvalsPopulation()
,
xegaNextPopulation()
,
xegaSummaryPopulation()
pop10<-xegaInitPopulation(10, lFxegaGaGene)
epop10<-xegaEvalPopulation(pop10, lFxegaGaGene)
popStats<-xegaObservePopulation(epop10$fit)
popStats<-xegaObservePopulation(epop10$fit, popStats)
matrix(popStats, ncol=8, byrow=TRUE)