unanimityGame: Construct a unanimity game

Description Usage Arguments Value Related Functions Author(s) References Examples

View source: R/UnanimityGame.R

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

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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

CoopGame documentation built on Aug. 24, 2021, 1:07 a.m.