Last chance! 50% off unlimited learning
Sale ends in
Given a game and a communications network, this function computes the Myerson value.
myersonvalue(v, binary = FALSE, communications, game = FALSE)
The corresponding Myerson value, as a vector.
A characteristic function, as a vector.
A logical value. By default, binary=FALSE
. Should be set to TRUE
if v
is introduced in binary order instead of lexicographic order.
An undirected communications network, as a list of vectors (their order being irrelevant), each containing two different players (their order being irrelevant). If two players are able to communicate with each other, a bidimensional vector containing them should be present in the list; otherwise, the vector should be absent. When communications
is not specified, it is assumed that all players can communicate with each other.
A logical value. By default, game=FALSE
. If set to TRUE
, the game with restricted communication is also returned.
Let
The Myerson value is the Shapley value of the game
Myerson, R. B. (1977). Graphs and cooperation in games. Mathematics of Operations Research, 2(3), 225-229.
shapleyvalue
v <- c(0,0,0,0,30,30,40,40,50,50,60,70,80,90,100)
communications <- list(c(1,2), c(1,3), c(1,4))
myersonvalue(v, binary=FALSE, communications)
Run the code above in your browser using DataLab