plot_population: Plot the population position

View source: R/METHOD__Plot_history.R

plot_populationR Documentation

Plot the population position

Description

Plot the position of all individuals in the population, at a given iteration, for 1D and 2D functions. The plot can be produced only if save_pop_history is TRUE in the options of the minimizer (see MinimizerOpts).

Usage

plot_population(minimizer_result, iteration, n_points = 100)

Arguments

minimizer_result

an object of class OptimizationResults (see OptimizationResults).

iteration

iteration at which the population is plotted.

n_points

number of points per dimention used to draw the objective function. Default is 100.


EmiR documentation built on Dec. 10, 2022, 1:12 a.m.