updateLogger: Update the log.

View source: R/logger.default.R

updateLoggerR Documentation

Update the log.

Description

This function modifies the log in-place, i.e., without making copies.

Usage

updateLogger(log, population, fitness = NULL, n.evals, extras = NULL, ...)

Arguments

log

[ecr_logger]
The log generated by initLogger.

population

[list]
List of individuals.

fitness

[matrix]
Optional matrix of fitness values (each column contains the fitness value(s) for one individual) of population. If no matrix is passed and the log shall store information of the fitness, each individual needs to have an attribute fitness.

n.evals

[integer(1)]
Number of fitness function evaluations performed in the last generation.

extras

[list]
Optional named list of additional scalar values to log. See log.extras argument of initLogger for details.

...

[any]
Furhter arguments. Not used at the moment.

See Also

Other logging: getPopulationFitness(), getPopulations(), getStatistics(), initLogger()


ecr documentation built on March 31, 2023, 10:07 p.m.