Skip to content

Commit 2642ccb

Browse files
committed
Add some references to strategies.
1 parent f869970 commit 2642ccb

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

axelrod/strategies/memoryone.py

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@
1111

1212

1313
class MemoryOnePlayer(Player):
14-
"""Uses a four-vector for strategies based on the last round of play,
14+
"""
15+
Uses a four-vector for strategies based on the last round of play,
1516
(P(C|CC), P(C|CD), P(C|DC), P(C|DD)), defaults to Win-Stay Lose-Shift.
1617
Intended to be used as an abstract base class or to at least be supplied
17-
with a initializing four_vector."""
18+
with a initializing four_vector.
19+
20+
Names
21+
22+
- Memory One: [Nowak1989]_
23+
"""
1824

1925
name = 'Generic Memory One Player'
2026
classifier = {
@@ -191,7 +197,12 @@ def __init__(self) -> None:
191197

192198

193199
class StochasticCooperator(MemoryOnePlayer):
194-
"""Stochastic Cooperator, http://www.nature.com/ncomms/2013/130801/ncomms3193/full/ncomms3193.html."""
200+
"""Stochastic Cooperator.
201+
202+
Names:
203+
204+
- Stochastic Cooperator: [Adami2013]_
205+
"""
195206

196207
name = 'Stochastic Cooperator'
197208

docs/reference/bibliography.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Bibliography
66
This is a collection of various bibliographic items referenced in the
77
documentation.
88

9+
.. [Adami2013] Adami C and Hintze A. (2013) Evolutionary instability of zero-determinant strategies demonstrates that winning is not everything. Nature communications. https://www.nature.com/articles/ncomms3193
910
.. [Andre2013] Andre L. C., Honovan P., Felipe T. and Frederico G. (2013). Iterated Prisoner’s Dilemma - An extended analysis, http://abricom.org.br/wp-content/uploads/2016/03/bricsccicbic2013_submission_202.pdf
1011
.. [Ashlock2006] Ashlock, D., & Kim E. Y, & Leahy, N. (2006). Understanding Representational Sensitivity in the Iterated Prisoner’s Dilemma with Fingerprints. IEEE Transactions On Systems, Man, And Cybernetics, Part C: Applications And Reviews, 36 (4)
1112
.. [Ashlock2006b] Ashlock, W. & Ashlock, D. (2006). Changes in Prisoner's Dilemma Strategies Over Evolutionary Time With Different Population Sizes 2006 IEEE International Conference on Evolutionary Computation. http://DOI.org/10.1109/CEC.2006.1688322
@@ -33,7 +34,8 @@ documentation.
3334
for the Iterated Prisoner's Dilemma. Proceedings of the 2015
3435
International Conference on Autonomous Agents and Multiagent Systems.
3536
.. [Nachbar1992] Nachbar J., Evolution in the finitely repeated prisoner’s dilemma, Journal of Economic Behavior & Organization, 19(3): 307-326, 1992.
36-
.. [Nowak1992] Nowak, M. a., & May, R. M. (1992). Evolutionary games and spatial chaos. Nature. http://doi.org/10.1038/359826a0
37+
.. [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
38+
.. [Nowak1992] Nowak, M.., & May, R. M. (1992). Evolutionary games and spatial chaos. Nature. http://doi.org/10.1038/359826a0
3739
.. [Nowak1993] 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–58. http://doi.org/10.1038/364056a0
3840
.. [Press2012] Press, W. H., & Dyson, F. J. (2012). Iterated Prisoner’s Dilemma contains strategies that dominate any evolutionary opponent. Proceedings of the National Academy of Sciences, 109(26), 10409–10413. http://doi.org/10.1073/pnas.1206569109
3941
.. [Prison1998] LIFL (1998) PRISON. Available at: http://www.lifl.fr/IPD/ipd.frame.html (Accessed: 19 September 2016).

0 commit comments

Comments
 (0)