PayoffMatrix_QHawkDove: Quantum Hawk and Dove game: Payoff Matrix

Description Usage Arguments Value References Examples

View source: R/PayoffMatrix_QHawkDove.R

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

1
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

1
2
3
init()
moves <- list(Q$I2, sigmaX(Q$I2))
PayoffMatrix_QHawkDove(moves, 50, -100, -10)

QGameTheory documentation built on July 8, 2020, 7:27 p.m.