Learn R Programming

rorutadis (version 0.4.2)

findSimpleFunction: Find one value function

Description

This function finds single value function that is consistent with provided preferece information. Search is done by epsilon maximization.

Usage

findSimpleFunction(problem)

Arguments

problem
Problem

Value

List with named elements:
  • vf - list of 2-column matrices with marginal value functions (characteristic point in rows),
  • thresholds,
  • assignments,
  • alternativeValues,
  • epsilon.

See Also

plotVF plotComprehensiveValue findRepresentativeFunction

Examples

Run this code
perf <- matrix(c(5, 2, 1, 7, 0.5, 0.9, 0.4, 0.4), ncol = 2)
problem <- buildProblem(perf, 3, FALSE, c('g', 'g'), c(0, 0))
problem <- addAssignmentsLB(problem, c(1, 2), c(2, 3))

simpleFunction <- findSimpleFunction(problem)

Run the code above in your browser using DataLab