cmaInit {rCMA} | R Documentation |
Initialize a CMA-ES Java object.
Description
Initialize a CMA-ES Java object.
Usage
cmaInit(cma, seed = NULL, dimension = NULL, initialX = NULL,
initialStandardDeviations = NULL)
Arguments
cma |
CMA-ES Java object, as created by |
seed |
[NULL] if not NULL, set the seed to the given value |
dimension |
[NULL] if not NULL, overwrite the dimension setting from |
initialX |
[NULL] if not NULL, overwrite the initialX setting from |
initialStandardDeviations |
[NULL] if not NULL, overwrite the initialStandardDeviations
setting from |
Value
fitness
, a vector of 0's with the length of the intended population.
Note
As a side effect, the CMA-ES Java object cma
of class CMAEvolutionStrategy
is transferred into an augmented state. As a second side effect, the population size is
set to
\lambda = 4 + 3 floor(ln(n))
where n=
dimension
.
Author(s)
Wolfgang Konen, FHK, 2013
See Also
Examples
cma <- cmaNew();
cmaInit(cma,seed=42,dimension=2,initialX=1.5);