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

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

Value

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

Details

Utility for Pareto front