PayoffMatrix_QHawkDove: Quantum Hawk and Dove game: Payoff Matrix

View source: R/PayoffMatrix_QHawkDove.R

PayoffMatrix_QHawkDoveR 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)


indrag49/QGameTheory documentation built on Nov. 1, 2024, 3:56 p.m.