is_nondominated: Check if solution is nondominated

Description Usage Arguments Value Examples

View source: R/pareto-dominance.R

Description

Check if solution x is not dominated by any other solution in the set solutions

Usage

1
is_nondominated(x, solutions, minimize = TRUE)

Arguments

x

Numeric vector with objective functions values for solution x

solutions

List or matrix with objective functions values for solutions. In matrix each row contains values for one solution

minimize

If objective functions should be minimized

Value

Logical value

Examples

1
2
3
x <- c(1, 2, 2)
solutions <- list(c(1, 5, 5), c(8, 4, 8), c(3, 2, 2))
is_nondominated(x, solutions)

jiripetrlik/r-multiobjective-evolutionary-algorithms documentation built on April 27, 2020, 12:12 p.m.