Last chance! 50% off unlimited learning
Sale ends in
This function checks if the given game is totally balanced and computes its totally balanced cover.
totallybalancedcheck(
v,
game = FALSE,
binary = FALSE,
tol = 100 * .Machine$double.eps
)
TRUE
if the game is totally balanced, FALSE
otherwise. If game=TRUE
, the totally balanced cover of the game is also returned.
A characteristic function, as a vector.
A logical value. By default, game=FALSE
. If set to TRUE
, the totally balanced cover of the game is also returned.
A logical value. By default, binary=FALSE
. Should be set to TRUE
if v
is introduced in binary order instead of lexicographic order.
A tolerance parameter, as a non-negative number.
By default, tol=100*.Machine$double.eps
.
A game
Maschler, M., Solan, E., & Zamir, S. (2013). Game Theory. Cambridge University Press.
balancedcheck, subgame
totallybalancedcheck(c(0,0,0,0,1/2,0,0,1/2,0,1/2,1/2,1/2,1/2,1/2,1))
totallybalancedcheck(c(0,0,0,0,1,1,0,1,0,0,1,1,1,1,2),game=TRUE)
Run the code above in your browser using DataLab