Learn R Programming

ecr (version 2.1.1)

computeHV: Functions for the calculation of the dominated hypervolume (contribution).

Description

The function computeHV computes the dominated hypervolume of a set of points given a reference set whereby computeHVContr computes the hypervolume contribution of each point.

If no reference point is given the nadir point of the set x is determined and a positive offset with default 1 is added. This is to ensure that the reference point dominates all of the points in the reference set.

Usage

computeHV(x, ref.point = NULL, ...)

computeHVContr(x, ref.point = NULL, offset = 1)

Value

[numeric(1)] Dominated hypervolume in the case of

computeHV and the dominated hypervolume contributions for each point in the case of computeHVContr.

Arguments

x

[matrix]
Matrix of points (column-wise).

ref.point

[numeric | NULL]
Reference point. Set to the maximum in each dimension by default if not provided.

...

[any]
Not used at the moment.

offset

[numeric(1)]
Offset to be added to each component of the reference point only in the case where no reference is provided and one is calculated automatically.