propFile: [NULL] filename of a file with property settings. If NULL, read file
CMAEvolutionStrategy.properties from the package directory (find.package("rCMA"))
Returns
the new CMA-ES Java object of class CMAEvolutionStrategy, which has as additional attribute props, the Java Properties object as read from propFile.
Note
The default properties file can be found in CMAEvolutionStrategy.properties. A read-only copy can be inspected by browsing to "Index" (of package rCMA), then "Overview of user guides ...".
It allows to set more parameter, especially more stop conditions .
Examples
## show how element initialX can be inferred from attribute props:## (see cmaEvalMeanX-documentation for further details on .jcall and its argument "S") cma <- cmaNew(); props <- attr(cma,"props"); initialX = rJava::.jcall(props,"S","getProperty","initialX"); print(initialX);