cmaNew | R Documentation |
Create a new CMA-ES Java object.
cmaNew(propFile = NULL)
propFile |
[NULL] filename of a file with property settings. If NULL, read file |
the new CMA-ES Java object of class CMAEvolutionStrategy
, which has as
additional attribute props
, the Java Properties
object as read from propFile
.
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.
Wolfgang Konen, FHK, 2013
cmaInit
## 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);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.