Description Usage Arguments Value References Examples
View source: R/PayoffMatrix_QHawkDove.R
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.
1 | PayoffMatrix_QHawkDove(moves, v, j, D)
|
moves |
a list of matrices |
v |
a number |
j |
a number |
D |
a number |
The payoff matrices for the two players as two elements of a list.
https://arxiv.org/pdf/quant-ph/0506219.pdf
https://arxiv.org/pdf/quant-ph/0208069.pdf
https://arxiv.org/pdf/quant-ph/0108075.pdf
1 2 3 | init()
moves <- list(Q$I2, sigmaX(Q$I2))
PayoffMatrix_QHawkDove(moves, 50, -100, -10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.