getPopulations function

Access to logged populations.

Access to logged populations.

Simple getter for the logged populations.

getPopulations(log, trim = TRUE)

Arguments

  • log: [ecr_logger]

    The log generated by initLogger.

  • trim: [logical(1)]

    Should unused lines in the logged be cut off? Usually one wants this behaviour. Thus the default is TRUE.

Returns

[list] List of populations.

Details

This functions throws an error if the logger was initialized with log.pop = FALSE (see initLogger).

See Also

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

  • Maintainer: Jakob Bossek
  • License: GPL-3
  • Last published: 2023-03-08