Learn R Programming

ecr (version 1.0)

OptState: Optimization state.

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:

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

Arguments