Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor tests for memory one #1032

Merged
merged 3 commits into from
Jun 1, 2017
Merged

Refactor tests for memory one #1032

merged 3 commits into from
Jun 1, 2017

Conversation

drvinceknight
Copy link
Member

Addresses #884

I also added some references to strategies.

@@ -33,7 +34,8 @@ documentation.
for the Iterated Prisoner's Dilemma. Proceedings of the 2015
International Conference on Autonomous Agents and Multiagent Systems.
.. [Nachbar1992] Nachbar J., Evolution in the finitely repeated prisoner’s dilemma, Journal of Economic Behavior & Organization, 19(3): 307-326, 1992.
.. [Nowak1992] Nowak, M. a., & May, R. M. (1992). Evolutionary games and spatial chaos. Nature. http://doi.org/10.1038/359826a0
.. [Nowak1989] Nowak, M., & Sigmund, K. (1989). Natural selection of memory-one strategies for the iterated prisoner's dilemma. Journal of Theoretical biology. http://www.sciencedirect.com/science/article/pii/0096300389900520
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thought Nowak was from the first to look at memory one strategies the 1989 article is focused only on the reactive strategies.

I would recommend the following article as a reference for the first study of memory one: https://www.researchgate.net/publication/225248231_Nowak_M_Sigmund_K_The_evolution_of_stochastic_strategies_in_the_Prisoner%27s_Dilemma_Acta_Appl_Math_20_247-265

It can be seen in the appendix that they give full definition of memory one strategies and the transition matrix in a match.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Nikoleta-v3! Fixing now.

Mainly using seeded tests that hit all states (added some tests that
were missing as well).

Addresses #884
@marcharper marcharper merged commit 97f78e3 into master Jun 1, 2017
@marcharper marcharper deleted the 884-testmemoryone branch July 19, 2017 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants