unanimityGame {CoopGame} | R Documentation |
Construct a unanimity game
Description
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.
Usage
unanimityGame(n, T)
Arguments
n |
represents the number of players |
T |
represents coalition which is subset of grand coalition and neccessary for generating value |
Value
A list with three elements representing the unanimity game (n, T, Game vector v)
Related Functions
unanimityGameValue, unanimityGameVector
Author(s)
Jochen Staudacher jochen.staudacher@hs-kempten.de
References
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
Examples
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
[Package CoopGame version 0.2.2 Index]