PayoffMatrix_QHawkDove {QGameTheory} | R Documentation |
Quantum Hawk and Dove game: Payoff Matrix
Description
This function generates the payoff matrix for the Quantum Hawk and Dove game for all the four combinations of p
and q
. moves
is a list of two possible strategies for each of the players and v, j, D
are the value of resource, cost of injury and cost of displaying respectively.
Usage
PayoffMatrix_QHawkDove(moves, v, j, D)
Arguments
moves |
a list of matrices |
v |
a number |
j |
a number |
D |
a number |
Value
The payoff matrices for the two players as two elements of a list.
References
https://arxiv.org/pdf/quant-ph/0506219.pdf
https://arxiv.org/pdf/quant-ph/0208069.pdf
https://arxiv.org/pdf/quant-ph/0108075.pdf
Examples
init()
moves <- list(Q$I2, sigmaX(Q$I2))
PayoffMatrix_QHawkDove(moves, 50, -100, -10)
[Package QGameTheory version 0.1.2 Index]