WSLS: Win-stay loose-switch (WSLS)

Description Usage Arguments Value Author(s) References

Description

A probabilistic Win-stay Loose-shift strategy. Copies itself if it won last round, does the opposite if it lost, both with given probabilities

Usage

1
2
WSLS(params, hidden_states = NULL, player, p_matrix, choice_self,
  choice_op, return_hidden_states = F)

Arguments

params

A list of two elements, WSLS's win stay probability parameter and loose shift probability parameter

Value

WSLS's choice

Author(s)

K. Enevoldsen & P. Waade

References

Nowak, M., & Sigmund, K. (1993). A strategy of win-stay, lose-shift that outperforms tit-for-tat in the Prisoner's Dilemma game. Nature, 364(6432), 56.


KennethEnevoldsen/SiRToM documentation built on May 28, 2019, 9:32 a.m.