checkAddRemove.RdTest if any of the points in nonDom are dominated by pt
checkAddRemove(cand, nonDom, var1name, var2name)
| 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 |
A new nonDom matrix, adding cand if it is non-dominated and removing any rows that are dominated by it
Utility for Pareto front