The function checks whether every point from the second set of points is dominated by at least one point from the first set.

set_dominates(x, y)

Arguments

x

[matrix]
First set of points.

y

[matrix]
Second set of points.

Value

Single logical value.

See also

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

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

Examples

x = matrix(c(1, 1, 2, 2, 1, 3), byrow = FALSE, ncol = 3L) y = matrix(c(3, 4, 2, 2, 5, 6, 7, 7), byrow = FALSE, ncol = 4L) set_dominates(x, y)
#> [1] TRUE
set_dominates(y, x)
#> [1] FALSE