cmaSetDimension function

rCMA Getters and Setters.

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)

Arguments

  • cma: CMA-ES Java object, created with cmaNew
  • i: a parameter of type integer
  • initialX: either a double or a double vector of length cmaGetDimension
  • p: a parameter of type long

Returns

none for the setters, the requested element(s) for the getters

See Also

cmaSetStopFitness, cmaNew, cmaInit

  • Maintainer: Wolfgang Konen
  • License: GPL (>= 3)
  • Last published: 2022-06-24

Useful links