Last chance! 50% off unlimited learning
Sale ends in
This function checks if the given game is superadditive.
superadditivecheck(v, binary = FALSE, instance = FALSE)
TRUE
if the game is superadditive, FALSE
otherwise. If instance=TRUE
and the game is not superadditive, the function also returns the positions (binary order positions if binary=TRUE
; lexicographic order positions otherwise) of a pair of coalitions violating superadditivity.
A characteristic function, as a vector.
A logical value. By default, binary=FALSE
. Should be set to TRUE
if v
is introduced in binary order instead of lexicographic order.
A logical value. By default, instance=FALSE
.
A game
A game
additivecheck, convexcheck, monotoniccheck, strategicallyequivalentcheck
v <- c(2, 2, 4, 2, 4, 5, 6)
superadditivecheck(v, binary = TRUE, instance = TRUE)
# How to check if a game is subadditive:
v.sub <- c(40, 30, 50, 60, 70, 65, 90) # subadditive game
superadditivecheck(-v.sub)
Run the code above in your browser using DataLab