cmaNew {rCMA} | R Documentation |
Create a new CMA-ES Java object.
Description
Create a new CMA-ES Java object.
Usage
cmaNew(propFile = NULL)
Arguments
propFile |
[NULL] filename of a file with property settings. If NULL, read file |
Value
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.
Author(s)
Wolfgang Konen, FHK, 2013
See Also
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);
[Package rCMA version 1.1.1 Index]