excesses {TUGLab} | R Documentation |
Coalition excesses
Description
Given a game and an allocation, this function computes the excess of each coalition.
Usage
excesses(v, binary = FALSE, x)
Arguments
v |
A characteristic function, as a vector. |
binary |
A logical value. By default, |
x |
An allocation, as a vector. |
Details
Given a game v\in G^N
and an allocation x
, the excess of coalition S \in 2^N
with respect to x
is defined as e(x,S)=v(S)-x(S)
, where x(S)=\sum_{i\in S} x_i
.
Value
The excesses of all coalitions, as a vector in binary order if binary=TRUE
and in lexicographic order otherwise.
See Also
nucleolusvalue, nucleoluspcvalue
Examples
excesses(v=c(0,0,3,0,3,8,6,0,6,9,15,8,16,17,20), binary=TRUE, x=c(8,7,2,3))
excesses(v=c(1,5,10,6,11,15,16), x=c(1,5,10)) <= 0 # core allocation
[Package TUGLab version 0.0.1 Index]