getkCover {CoopGame} | R Documentation |
getkCover returns the k-cover for a given TU game according to the formula on p. 173 in the book by Driessen. Note that the k-cover does not exist if condition (7.2) on p. 173 in the book by Driessen is not satisfied.
getkCover(v, k)
v |
Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players |
k |
An integer specifying k in the k-cover |
numeric vector containing the k-cover of the given game if the k-cover exists, NULL otherwise
Jochen Staudacher jochen.staudacher@hs-kempten.de
Driessen T. (1998) Cooperative Games, Solutions and Applications, Springer, p. 173
library(CoopGame)
getkCover(c(0,0,0,9,9,12,18),k=1)
library(CoopGame)
#Example from textbook by Driessen, p. 175, with alpha = 0.6 and k = 2
alpha = 0.6
getkCover(c(0,0,0,alpha,alpha,0,1), k=2)
#[1] 0.0 0.0 0.0 0.6 0.6 0.0 1.0