checkAddRemove: checkAddRemove function

View source: R/ParetoFront.R

checkAddRemoveR Documentation

checkAddRemove function

Description

Test if any of the points in nonDom are dominated by pt

Usage

checkAddRemove(cand, nonDom, var1name, var2name)

Arguments

cand

Real double that you want to check if it is dominated or not

nonDom

Real two-column matrix, with vectors in rows that are non-dominated and sorted from low to high for their first column

var1name

Character: name of the column of column 1

var2name

Character: name of the column of column 2

Details

Utility for Pareto front

Value

A new nonDom matrix, adding cand if it is non-dominated and removing any rows that are dominated by it


jeanlucj/BreedSimCost documentation built on July 21, 2023, 1:59 a.m.