domhv_improvement {miesmuschel} | R Documentation |
Calculate Hypervolume Improvement
Description
Takes a matrix
of fitness values and calculates the hypervolume improvement of individuals in that matrix
, one by one,
over the baseline
individuals.
The hypervolume improvement for each point is the measure of all points that have fitnesses that are
greater than the respective value in
nadir
in all dimensions, andsmaller than the respective value in the given point in all dimensions, and
greater than all points in
baseline
in at least one dimension.
Individuals in fitnesses
are considered independently of each other. A possible speedup is achieved because
baseline
individuals only need to be pre-filtered once.
Usage
domhv_improvement(fitnesses, baseline = NULL, nadir = 0)
Arguments
fitnesses |
( |
baseline |
( |
nadir |
( |
Value
numeric
: The vector of dominated hypervolume contributions for each individual in fitnesses
.
Examples
(fitnesses = matrix(c(1, 5, 2, 3, 0, 3, 1, 0, 10, 8), ncol = 2))
# to see the fitness matrix, use:
## plot(fitnesses, pch = as.character(1:5))
domhv_improvement(fitnesses)
domhv_improvement(fitnesses, fitnesses[1, , drop = FALSE])