A matrix in which each row is a characteristic function.
binary
A logical value. By default, binary=FALSE. Should be set to TRUE if the characteristic functions in games are introduced in binary order instead of lexicographic order.
imputations
A logical value. By default, imputations=TRUE.
When set to imputations=FALSE, the sets of imputations are not drawn.
Details
The core of a game \(v\in G^N\) is the set of all its stable imputations:
$$C(v)=\{x\in\mathbb{R}^n : x(N)=v(N), x(S)\ge v(S)\ \forall S \in 2^N\},$$
where \(x(S)=\sum_{i\in S} x_i\).
# Plotting the core and the least core of a game:v <- c(0,0,0,0,10,40,30,60,10,20,90,90,90,130,160)
vt <- leastcore(v)$vt
plotcoresets(games = rbind(v,vt), imputations = FALSE)