Sample a population from the current CMA-ES distribution.
Sample a population from the current CMA-ES distribution.
The population size is given by cmaGetPopulationSize(cma). It can be either set manually with cmaSetPopulationSize(cma,p), prior to cmaInit(cma), or CMA-ES will use the default population size
popSize = 4 + 3*log(dimension).
cmaSamplePopulation(cma)
Arguments
cma: CMA-ES Java object, already initialized with cmaInit
Returns
popR, a (dimension x popSize) matrix with popR[,1]