SalvoExchange: Hughes (1995) salvo exchanges with offensive,
defensive and staying power. BlottoPayoff: battlefield-by-battlefield
payoff (ties split). BlottoBestResponse: exhaustive best response to
a known pure or mixed opponent strategy.
Usage
SalvoExchange(A, B, alpha, beta, a1, b1, a3 = 0, b3 = 0, salvos = 1)
BlottoPayoff(alloc_a, alloc_b, values = NULL)
BlottoBestResponse(opponent, troops, values = NULL)References
Hughes, W. P. (1995). A salvo model of warships in missile combat used to evaluate their staying power. Naval Research Logistics 42, 267-289.
Roberson, B. (2006). The Colonel Blotto game. Economic Theory 29, 1-24.
Examples
SalvoExchange(10, 8, alpha = 2, beta = 2, a1 = 2, b1 = 2, a3 = 1, b3 = 1)$B
#> [1] 8 2
BlottoBestResponse(c(2, 2, 2), 6)$allocation
#> [1] 0 3 3
