findSimpleFunction: Find one value function

Description Usage Arguments Value See Also Examples

View source: R/main.R

Description

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

Usage

1

Arguments

problem

Problem

Value

List with named elements:

See Also

plotVF plotComprehensiveValue findRepresentativeFunction

Examples

1
2
3
4
5
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)

Example output

Loading required package: Rglpk
Loading required package: slam
Using the GLPK callable library version 4.52
Loading required package: ggplot2
Loading required package: gridExtra
Loading required package: hitandrun

rorutadis documentation built on May 2, 2019, 8:51 a.m.