unanimityGame {CoopGame} | R Documentation |
Create a list containing
all information about a specified unanimity game:
The player in coalition T
are the productive players.
If all players from T
are included, the coalition
generates value 1
, otherwise 0
.
Note that unanimity games are always simple games.
unanimityGame(n, T)
n |
represents the number of players |
T |
represents coalition which is subset of grand coalition and neccessary for generating value |
A list with three elements representing the unanimity game (n, T, Game vector v)
unanimityGameValue, unanimityGameVector
Jochen Staudacher jochen.staudacher@hs-kempten.de
Peleg B. and Sudhoelter P. (2007) Theory of cooperative games, 2nd Edition, Springer, p. 152
Maschler M., Solan E. and Zamir S. (2013) Game Theory, Cambridge University Press, p. 764
library(CoopGame)
unanimityGame(n=3,T=c(1,2))
library(CoopGame)
unanimityGame(n=4,T=c(1,2))
#Output
#$n
#[1] 4
#
#$T
#[1] 1 2
#$v
#[1] 0 0 0 0 1 0 0 0 0 0 1 1 0 0 1