OptState: Optimization state.

Description

Description

The optimization state of class ecr_opt_state is a S3 object containing all the information about the current state of the optimization process. It is initialized uopn the generation of the initial population right before the evolutionary loop is started and is updated after after a new generation was created, i.~e., after each iteration of the EA loop. Internally the object is an R environment which allows for manipulation in place. By default the state object contains the following slots:

iter

The current iteration/generation.

time.created

Time the object was initialized.

time.passed

Time passed since creation.

task

The optimization task (see makeOptimizationTask).

pas.set

The parameter set of the objective function at hand (see ParamSet).

n.evals

Number of performed objective function evaluations.

control

The ecr_control control object.

population

The current population.

best.param/best.value

Best parameter and its value (only in single-objective case).

The final optimization state object is returned by the EA (see ecr_result).


jakobbossek/ecr documentation built on May 18, 2019, 9:09 a.m.