domhv_improvement | R Documentation |
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, and
smaller 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.
domhv_improvement(fitnesses, baseline = NULL, nadir = 0)
fitnesses |
( |
baseline |
( |
nadir |
( |
numeric
: The vector of dominated hypervolume contributions for each individual in fitnesses
.
(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])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.