rCMA Getters and Setters.
Get or set various elements of CMA-ES Java object cma
.
cmaSetDimension
sets the problem dimension (only prior to cmaInit
)
cmaGetDimension
returns the problem dimension
cmaSetPopulationSize
sets the population size (only prior to cmaInit
)
cmaGetPopulationSize
returns the population size
cmaSetInitialX
set the mean vector for the initial population (only prior to cmaInit
)
cmaGetInitialX
returns the mean vector for the initial population
cmaSetCountEval
sets the counter for fitness function evaluations (only prior to cmaInit
)
cmaGetCountEval
returns the counter for fitness function evaluations
cmaSetDimension(cma, i) cmaGetDimension(cma) cmaSetPopulationSize(cma, i) cmaGetPopulationSize(cma) cmaSetInitialX(cma, initialX) cmaGetInitialX(cma) cmaSetCountEval(cma, p) cmaGetCountEval(cma)
cma
: CMA-ES Java object, created with cmaNew
i
: a parameter of type integerinitialX
: either a double or a double vector of length cmaGetDimension
p
: a parameter of type longnone for the setters, the requested element(s) for the getters
cmaSetStopFitness
, cmaNew
, cmaInit
Useful links