Description Usage Arguments Value Author(s) References Examples
View source: R/getMinimalRights.R
Calculates the minimal rights vector.
1 |
v |
Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players |
Vector of minimal rights of each player
Johannes Anwander anwander.johannes@gmail.com
Michael Maerz
Jochen Staudacher jochen.staudacher@hs-kempten.de
Branzei R., Dimitrov D. and Tijs S. (2006) Models in cooperative game theory, Springer, pp. 20–21
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(CoopGame)
getMinimalRights(c(0,0,0,1,0,1,1))
library(CoopGame)
v1 <- c(0,0,0,60,60,60,72)
getMinimalRights(v1)
#[1] 48 48 48
library(CoopGame)
v2 <- c(2,4,5,18,14,9,24)
getMinimalRights(v2)
#[1] 8 4 5
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.