getMinimalRights: Compute minimal rights vector

Description Usage Arguments Value Author(s) References Examples

View source: R/getMinimalRights.R

Description

Calculates the minimal rights vector.

Usage

1

Arguments

v

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

Value

Vector of minimal rights of each player

Author(s)

Johannes Anwander anwander.johannes@gmail.com

Michael Maerz

Jochen Staudacher jochen.staudacher@hs-kempten.de

References

Branzei R., Dimitrov D. and Tijs S. (2006) Models in cooperative game theory, Springer, pp. 20–21

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(CoopGame)
getMinimalRights(c(0,0,0,1,0,1,1))


library(CoopGame)
v1 <- c(0,0,0,60,60,60,72)
getMinimalRights(v1)
#[1] 48 48 48

library(CoopGame)
v2 <- c(2,4,5,18,14,9,24) 
getMinimalRights(v2)
#[1] 8 4 5

CoopGame documentation built on Aug. 24, 2021, 1:07 a.m.