QHawkDove | R Documentation |
This function returns the expected payoffs to Alice and Bob with respect to the probabilities p
and q
. p+q
should equal 1 and 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.
QHawkDove(p, q, moves, v, j, D)
p |
a real number between 0 and 1 including the end points |
q |
a real number between 0 and 1 including the end points |
moves |
a list of matrics |
v |
a number |
j |
a number |
D |
a number |
A vector consisting of the expected payoffs to Alice and Bob as its elements calculated according to the probabilities p
and q
provided as inputs.
https://arxiv.org/pdf/quant-ph/0506219.pdf
https://arxiv.org/pdf/quant-ph/0208069.pdf
https://arxiv.org/pdf/quant-ph/0108075.pdf
init()
moves <- list(Q$I2, sigmaX(Q$I2))
QHawkDove(0, 1, moves, 50, -100, -10)
QHawkDove(0, 0, moves, 50, -100, -10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.