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.
Usage
QHawkDove(p, q, moves, v, j, D)
Arguments
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
Value
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.