getkCover {CoopGame} | R Documentation |
Compute k-cover of game
Description
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.
Usage
getkCover(v, k)
Arguments
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 |
Value
numeric vector containing the k-cover of the given game if the k-cover exists, NULL otherwise
Author(s)
Jochen Staudacher jochen.staudacher@hs-kempten.de
References
Driessen T. (1998) Cooperative Games, Solutions and Applications, Springer, p. 173
Examples
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
[Package CoopGame version 0.2.2 Index]