dominated: Check for Pareto-dominance

Description Usage Arguments Value See Also Examples

View source: R/moo_domination.R

Description

These functions take a numeric matrix as input where each column corresponds to a point and return a logical vector. The ith position of the latter is TRUE if the ith point is dominated by at least one other point for dominated. Likewise, the ith entry of nondominated is TRUE if it is not dominated by any other point.

Usage

1
2
3

Arguments

x

[matrix]
Numeric (m \times n) matrix where m is the number of objectives and n is the number of points.

Value

Logical vector where the ith component is TRUE if x[i] is dominated or nondominated respectively and FALSE otherwise.

See Also

Other Pareto-dominance checks: dominates(), set_dominates(), which_dominated()

Other multi-objective tools: dominates(), set_dominates(), which_dominated()

Examples

1
2
3
x = matrix(c(1, 1, 2, 2, 1, 3), byrow = FALSE, ncol = 3L)
dominated(x)
nondominated(x)

jakobbossek/ecr3vis documentation built on Dec. 20, 2021, 9 p.m.