degeneratecheck {TUGLab}R Documentation

Degenerate check

Description

This function checks if the given game is degenerate.

Usage

degeneratecheck(v, binary = FALSE)

Arguments

v

A characteristic function, as a vector.

binary

A logical value. By default, binary=FALSE. Should be set to TRUE if v is introduced in binary order instead of lexicographic order.

Details

A game v\in G^N is degenerate if v(N)=\sum_{i \in N} v(i).

Value

TRUE if the game is degenerate, FALSE otherwise.

See Also

essentialcheck

Examples

v <- c(1, 5, 10, 0, 0, 0, 16)
degeneratecheck(v)
w <- c(1, 5, 10, 0, 0, 0, 15)
degeneratecheck(w)

[Package TUGLab version 0.0.1 Index]