powered by
Given a game, this function returns the characteristic function of its 0-normalization.
zeronormalizedgame(v, binary = FALSE)
The characteristic function of the 0-normalized game, as a vector in binary order if binary=TRUE and in lexicographic order otherwise.
binary=TRUE
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.
binary=FALSE
TRUE
v
The 0-normalization of a given \(v\in G^N\) is defined by \(v_0(S)=v(S)-\sum_{i\in S} v(i)\) for each \(S \in 2^N\).
normalizedgame, savingsgame, strategicallyequivalentcheck, zeromonotoniccheck, zeronormalizedcheck
zeronormalizedgame(c(0,3,7,15,17,27,30)) zeronormalizedgame(c(1,5,10,6,11,15,16)) v.random <- rnorm(2^5-1,58,13) zeronormalizedgame(v.random) == -savingsgame(v.random)
Run the code above in your browser using DataLab