Learn R Programming

MOEADr (version 1.1.3)

find_nondominated_points: Find non-dominated points

Description

Non-dominated point finding for minimization problems

Usage

find_nondominated_points(Y)

Value

logical vector of length nrow(Y) indicating the nondominated points as TRUE.

Arguments

Y

row matrix of points in the space of objectives.

Details

Non-dominated point finding, based on portions of function fastNonDominatedSorting from package NSGA2R (https://CRAN.R-project.org/package=nsga2R)

Examples

Run this code
Y  <- matrix(runif(200), ncol = 2)
nd <- find_nondominated_points(Y)
plot(Y[, 1], Y[, 2], type = "p", pch = 20, las = 1)
points(Y[nd, 1], Y[nd, 2], type = "p", pch = 16, col = 2, cex = 1.5)

Run the code above in your browser using DataLab