criterionPoints: Calculate the criterion points of a set of points and ranges...

Description Usage Arguments Value Author(s) Examples

View source: R/ndset.R

Description

Calculate the criterion points of a set of points and ranges to find the set of non-dominated points (Pareto points) and classify them into extreme supported, non-extreme supported, non-supported.

Usage

1
criterionPoints(pts, obj, crit, labels = "coord")

Arguments

pts

A data frame with a column for each variable in the solution space (can also be a rangePoints).

obj

A p x n matrix(one row for each criterion).

crit

Either max or min.

labels

If NULL or "n" don't add any labels (empty string). If 'coord' labels are the solution space coordinates. Otherwise number all points from one based on the solution space points.

Value

A data frame with columns x1, ..., xn, z1, ..., zp, lbl (label), nD (non-dominated), ext (extreme), nonExt (non-extreme supported).

Author(s)

Lars Relund lars@relund.dk

Examples

1
2
3
4
5
A <- matrix( c(3, -2, 1, 2, 4, -2, -3, 2, 1), nc = 3, byrow = TRUE)
b <- c(10,12,3)
pts <- integerPoints(A, b)
obj <- matrix( c(1,-3,1,-1,1,-1), byrow = TRUE, ncol = 3 )
criterionPoints(pts, obj, crit = "max", labels = "numb")

gMOIP documentation built on Aug. 23, 2021, 5:09 p.m.