isSymmetricGame: Check if game is symmetric

Description Usage Arguments Value Author(s) References Examples

View source: R/GamePropertySymmetry.R

Description

isSymmetricGame checks if a TU game is symmetric. A TU game is symmetric if and only if the values of all coalitions containing the same number of players are identical.

Usage

1

Arguments

v

Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players

Value

TRUE if the game is symmetric, else FALSE.

Author(s)

Jochen Staudacher jochen.staudacher@hs-kempten.de

References

Peleg B. and Sudhoelter P. (2007) Theory of cooperative games, 2nd Edition, Springer, p. 12

Chakravarty S.R., Mitra M. and Sarkar P. (2015) A Course on Cooperative Game Theory, Cambridge University Press, p. 26

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(CoopGame)
isSymmetricGame(c(0,0,0,1,1,1,2))


#Example of a symmetric game
library(CoopGame) 
v1<-c(3,3,3,10,10,10,17)
isSymmetricGame(v1)

#Example of a game which is not symmetric 
library(CoopGame) 
v2=c(1:7)
isSymmetricGame(v2)

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