Description Usage Arguments Value Author(s) References Examples
View source: R/GamePropertykConvexity.R
iskConvexGame checks if a TU game is k-convex. A TU game is k-convex if and only if its k-cover exists and is convex. See section 7.1 of the book by Driessen for more details
1 | iskConvexGame(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 |
TRUE
if the game is k-convex, else FALSE
Jochen Staudacher jochen.staudacher@hs-kempten.de
Driessen T. (1998) Cooperative Games, Solutions and Applications, Springer, p. 171–178
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | library(CoopGame)
iskConvexGame(v=c(0,0,0,9,9,12,18), k=1)
# Two examples motivated by the book by T. Driessen, p. 175:
#
# The following game is 2-convex
library(CoopGame)
alpha = 0.4
v=c(0,0,0,alpha,alpha,0,1)
iskConvexGame(v,2)
# The following game is not 2-convex
library(CoopGame)
alpha = 0.7
v=c(0,0,0,alpha,alpha,0,1)
iskConvexGame(v,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.