powered by
This function checks if the given game is degenerate.
degeneratecheck(v, binary = FALSE)
TRUE if the game is degenerate, FALSE otherwise.
TRUE
FALSE
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
v
A game \(v\in G^N\) is degenerate if \(v(N)=\sum_{i \in N} v(i)\).
essentialcheck
v <- c(1, 5, 10, 0, 0, 0, 16) degeneratecheck(v) w <- c(1, 5, 10, 0, 0, 0, 15) degeneratecheck(w)
Run the code above in your browser using DataLab