findSolutionWithIncomplete: Find single value function from incomplete preference...

Description Usage Arguments Value See Also Examples

View source: R/incomplete.R

Description

This function finds a single value function from incomplete preference information for a problem.

Usage

1
2
findSolutionWithIncomplete(problem, stochasticResults, method, reg = 1e-20,
  accuracy = 1e-10)

Arguments

problem

Problem to investigate.

stochasticResults

Stochastic results (see calculateStochasticResults).

method

cai-product, apoi-product, or combined-product.

reg

Reg

accuracy

Accuracy

Value

List with named elements:

See Also

calculateStochasticResults findRepresentativeFunction plotComprehensiveValue findSimpleFunction

Examples

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

stochasticResults <- calculateStochasticResults(problem, 100)
representativeFunction <- findSolutionWithIncomplete(problem, stochasticResults, "cai-product")
assignments <- representativeFunction$assignments

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