investigateUtility: Post factum analysis: check how much utility is missing

Description Usage Arguments Value See Also Examples

Description

This function calculates missing value of an alternative utility for that alternative to be possibly (or necessarily) assigned to at least some specific class.

Usage

1
investigateUtility(alternative, atLeastToClass, necessary, problem)

Arguments

alternative

An alternative index.

atLeastToClass

An assignment to investigate.

necessary

Whether necessary or possible assignment is considered.

problem

Problem for investigation.

Value

List with named elements:

NULL is returned if given assignment is not possible.

See Also

getMarginalUtilities getCharacteristicPoints getThresholds improveAssignment

Examples

1
2
3
4
5
perf <- matrix(c(8, 2, 1, 7, 0.5, 0.9, 0.4, 0.5), ncol = 2)
problem <- buildProblem(perf, 3, FALSE, c('g', 'g'), c(0, 0))
problem <- addAssignmentsUB(problem, c(1, 2), c(2, 3))

result <- investigateUtility(4, 3, FALSE, problem)

kciomek/rorutadis documentation built on May 20, 2019, 8:16 a.m.