Last chance! 50% off unlimited learning
Sale ends in
Given a game, this function returns the characteristic function of its 0-1-normalization, its 0-(-1) normalization or its 0-0 normalization, as appropriate.
normalizedgame(v, binary = FALSE)
The characteristic function of the 0-1-normalized game, the 0-(-1) normalized game or the 0-0 normalized game; as a vector in binary order if binary=TRUE
and in lexicographic order otherwise.
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 game
If
If
If
strategicallyequivalentcheck, zeronormalizedcheck, zeronormalizedgame
v <- c(1, 5, 11, 6, 11, 15, 16)
normalizedgame(v, binary = TRUE)
w <- c(4, 3, 8, 16, 17, 18, 15)
normalizedgame(w)
z <- c(2,3,5,10,12,14,5)
normalizedgame(z)
Run the code above in your browser using DataLab