updateParetoArchive: Update Pareto Archive.

View source: R/paretoArchive.R

updateParetoArchiveR Documentation

Update Pareto Archive.

Description

This function updates a Pareto archive, i.e., an archive of non-dominated points. It expects the archive, a set of individuals, a matrix of fitness values (each column corresponds to the fitness vector of one individual) and updates the archive “in-place”. If the archive has unlimited capacity all non-dominated points of the union of archive and passed individuals are stored. Otherwise, i.e., in case the archive is limited in capacity (argument max.size of initParetoArchive was set to an integer value greater zero), the trunc.fun function passed to initParetoArchive is applied to all non-dominated points to determine which points should be dropped.

Usage

updateParetoArchive(archive, inds, fitness, ...)

Arguments

archive

[ecr_pareto_archive]
The archive generated by initParetoArchive.

inds

[list]
List of individuals.

fitness

[matrix]
Matrix of fitness values (each column contains the fitness value(s) for one individual) of inds.

...

[any]
Furhter arguments passed down to trunc.fun (set via initParetoArchive).

See Also

Other ParetoArchive: getIndividuals(), getSize(), initParetoArchive()


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