cmaInit | R Documentation |
Initialize a CMA-ES Java object.
cmaInit(cma, seed = NULL, dimension = NULL, initialX = NULL, initialStandardDeviations = NULL)
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 |
fitness
, a vector of 0's with the length of the intended population.
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
λ = 4 + 3 floor(ln(n))
where n=dimension
.
Wolfgang Konen, FHK, 2013
cmaNew
, cmaOptimDP
cma <- cmaNew(); cmaInit(cma,seed=42,dimension=2,initialX=1.5);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.