rawBanzhafValue {CoopGame}R Documentation

Compute raw Banzhaf Value

Description

raw Banzhaf Value, i.e. the Banzhaf Value without the division by the scaling factor 2^{(n-1)}

Usage

rawBanzhafValue(v)

Arguments

v

Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players

Value

The return value is a numeric vector which contains the raw Banzhaf value for each player.

Author(s)

Jochen Staudacher jochen.staudacher@hs-kempten.de

References

Chakravarty S.R., Mitra M. and Sarkar P. (2015) A Course on Cooperative Game Theory, Cambridge University Press, pp. 118–119

Examples

library(CoopGame)
v = c(0,0,0,1,1,2,5)
rawBanzhafValue(v)


library(CoopGame)
v = c(0,0,0,2,2,3,5)
rawBanzhafValue(v)
#[1] 6 8 8



[Package CoopGame version 0.2.2 Index]