Description Usage Arguments Value Author(s) Examples
View source: R/GamePropertyDegeneration.R
Checks if a TU game is degenerate. We call a game essential if the value of the grand coalition is greater than the sum of the values of the singleton coalitions. We call a game degenerate (or inessential), if
v(N) = ∑ v({i})
.
1 |
v |
Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players |
TRUE
if the game is degenerate, else FALSE
Michael Maerz
Jochen Staudacher jochen.staudacher@hs-kempten.de
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | library(CoopGame)
isDegenerateGame(c(1,2,3,4,4,4,6))
#The following game, i.e. the Maschler game, is not degenerate
library(CoopGame)
v1 <- c(0,0,0,60,60,60,72)
isDegenerateGame(v1)
#The following game is also not degenerate
library(CoopGame)
v2 <- c(30,30,15,60,60,60,72)
isDegenerateGame(v2)
#The following game is degenerate
library(CoopGame)
v3 <- c(20,20,32,60,60,60,72)
isDegenerateGame(v3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.