makeStoppingCondition: Generate a stopping condition object.

Description Usage Arguments Value

Description

A list of stopping conditions can be passed to the cmaes function. Instead of hardconding the stopping criteria into the main function they exist as stand-alone functions for maximal flexibility and extendability.

Usage

1
2
makeStoppingCondition(name, message, stop.fun, code = name,
  control = list(), param.set = list())

Arguments

name

[character(1)]
Name of the stopping condition.

message

[character(1)]
Message returned if the stopping conditions is active.

stop.fun

[function]
Function which expects an environment envir as its only argument and returns a single logical value.

code

[character(1)]
Internal code, i.e., short name used to potentially trigger restarts. Default is name.

control

[list]
Control params.

Value

[cma_stopping_condition] Stopping condition object.


andreas-he/cmaesbenchmarking documentation built on May 10, 2019, 10:30 a.m.