Skip to content

Commit 1e0454c

Browse files
Merge pull request #1003 from Nikoleta-v3/references
References
2 parents c629ffc + e166f21 commit 1e0454c

File tree

10 files changed

+21
-14
lines changed

10 files changed

+21
-14
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ ENV/
102102
# Rope project settings
103103
.ropeproject
104104

105+
106+
# Pycharm Files
107+
.idea/
108+
105109
# Sublime Text settings
106110
*.sublime-*
107111

axelrod/strategies/better_and_better.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class BetterAndBetter(Player):
1212
Therefore it is less and less likely to defect as the round goes on.
1313
1414
Names:
15-
- Better and Better: [PRISON1998]_
15+
- Better and Better: [Prison1998]_
1616
1717
"""
1818

axelrod/strategies/doubler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Doubler(Player):
1111
1212
Names:
1313
14-
- Doubler: [PRISON1998]_
14+
- Doubler: [Prison1998]_
1515
"""
1616

1717
name = 'Doubler'

axelrod/strategies/grudger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class GrudgerAlternator(Player):
187187
188188
Names:
189189
190-
- c_then_per_dc: [PRISON1998]_
190+
- c_then_per_dc: [Prison1998]_
191191
- Grudger Alternator: Original name by Geraint Palmer
192192
"""
193193

@@ -218,7 +218,7 @@ class EasyGo(Player):
218218
219219
Names:
220220
221-
- Easy Go [PRISON1998]_
221+
- Easy Go [Prison1998]_
222222
"""
223223

224224
name = 'EasyGo'

axelrod/strategies/prober.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class Prober4(Player):
153153
154154
Names:
155155
156-
- prober4: [PRISON1998]_
156+
- prober4: [Prison1998]_
157157
"""
158158

159159
name = 'Prober 4'

axelrod/strategies/titfortat.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ class SpitefulTitForTat(Player):
565565
566566
Names:
567567
568-
- Spiteful Tit For Tat [PRISON1998]_
568+
- Spiteful Tit For Tat [Prison1998]_
569569
"""
570570

571571
name = 'Spiteful Tit For Tat'
@@ -603,14 +603,15 @@ def reset(self):
603603
super().reset()
604604
self.retaliating = False
605605

606+
606607
class SlowTitForTwoTats2(Player):
607608
"""
608609
A player plays C twice, then if the opponent plays the same move twice,
609610
plays that move, otherwise plays previous move.
610611
611612
Names:
612613
613-
- Slow Tit For Tat [PRISON1998]_
614+
- Slow Tit For Tat [Prison1998]_
614615
"""
615616

616617
name = 'Slow Tit For Two Tats 2'

axelrod/strategies/worse_and_worse.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ class WorseAndWorse(Player):
1010
Defects with probability of 'current turn / 1000'. Therefore
1111
it is more and more likely to defect as the round goes on.
1212
13-
Source code available at the download tab of [PRISON1998]_
13+
Source code available at the download tab of [Prison1998]_
1414
1515
1616
Names:
17-
- Worse and Worse: [PRISON1998]_
17+
- Worse and Worse: [Prison1998]_
1818
"""
1919

2020
name = 'Worse and Worse'
@@ -68,7 +68,7 @@ class WorseAndWorse2(Player):
6868
Therefore it is more and more likely to defect as the round goes on.
6969
7070
Names:
71-
- Worse and Worse 2: [PRISON1998]_
71+
- Worse and Worse 2: [Prison1998]_
7272
"""
7373

7474
name = 'Worse and Worse 2'
@@ -102,7 +102,7 @@ class WorseAndWorse3(Player):
102102
proportion of the turns.
103103
104104
Names:
105-
- Worse and Worse 3: [PRISON1998]_
105+
- Worse and Worse 3: [Prison1998]_
106106
"""
107107

108108
name = 'Worse and Worse 3'

docs/reference/bibliography.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ documentation.
1818
.. [Axelrod1984] The Evolution of Cooperation. Basic Books. ISBN 0-465-02121-2.
1919
.. [Axelrod1995] Wu, J. and Axelrod, R. (1995). How to cope with noise in the Iterated prisoner’s dilemma, Journal of Conflict Resolution, 39(1), pp. 183–189. doi: 10.1177/0022002795039001008.
2020
.. [Banks1980] Banks, J. S., & Sundaram, R. K. (1990). Repeated games, finite automata, and complexity. Games and Economic Behavior, 2(2), 97–117. http://doi.org/10.1016/0899-8256(90)90024-O
21+
.. [Bendor1993] Bendor, Jonathan, et al. “Cooperation Under Uncertainty: What Is New, What Is True, and What Is Important.” American Sociological Review, vol. 61, no. 2, 1996, pp. 333–338., www.jstor.org/stable/2096337.
2122
.. [Beaufils1997] Beaufils, B. and Delahaye, J. (1997). Our Meeting With Gradual: A Good Strategy For The Iterated Prisoner’s Dilemma. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.42.4041
2223
.. [Berg2015] Berg, P. Van Den, & Weissing, F. J. (2015). The importance of mechanisms for the evolution of cooperation. Proceedings of the Royal Society B-Biological Sciences, 282.
24+
.. [Flood1958] Merrill M. Flood. Some Experimental Games, 1958.
2325
.. [Frean1994] Frean, Marcus R. “The Prisoner's Dilemma without Synchrony.” Proceedings: Biological Sciences, vol. 257, no. 1348, 1994, pp. 75–79. www.jstor.org/stable/50253.
2426
.. [Hilde2013] Hilbe, C., Nowak, M.A. and Traulsen, A. (2013). Adaptive dynamics of extortion and compliance, PLoS ONE, 8(11), p. e77886. doi: 10.1371/journal.pone.0077886.
2527
.. [Kraines1989] Kraines, D. & Kraines, V. Theor Decis (1989) 26: 47. doi:10.1007/BF00134056
@@ -33,7 +35,7 @@ documentation.
3335
.. [Nowak1992] Nowak, M. a., & May, R. M. (1992). Evolutionary games and spatial chaos. Nature. http://doi.org/10.1038/359826a0
3436
.. [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
3537
.. [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
36-
.. [PRISON1998] LIFL (1998) PRISON. Available at: http://www.lifl.fr/IPD/ipd.frame.html (Accessed: 19 September 2016).
38+
.. [Prison1998] LIFL (1998) PRISON. Available at: http://www.lifl.fr/IPD/ipd.frame.html (Accessed: 19 September 2016).
3739
.. [Robson1989] Robson, Arthur, (1989), EFFICIENCY IN EVOLUTIONARY GAMES: DARWIN, NASH AND SECRET HANDSHAKE, Working Papers, Michigan - Center for Research on Economic & Social Theory, http://EconPapers.repec.org/RePEc:fth:michet:89-22.
3840
.. [Singer-Clark2014] Singer-Clark, T. (2014). Morality Metrics On Iterated Prisoner’s Dilemma Players.
3941
.. [Shakarian2013] Shakarian, P., Roos, P. & Moores, G. A Novel Analytical Method for Evolutionary Graph Theory Problems.

docs/tutorials/further_topics/noisy_tournaments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Noisy tournaments
44
A common variation on iterated prisoner’s dilemma tournaments is to add
55
stochasticity in the choice of actions, simply called noise. This noise is
66
introduced by flipping plays between ‘C’ and ‘D’ with some probability that is
7-
applied to all plays after they are delivered by the player.
7+
applied to all plays after they are delivered by the player [Bendor1993]_.
88

99
The presence of this persistent background noise causes some strategies to
1010
behave substantially differently. For example, :code:`TitForTat` can fall into

docs/tutorials/further_topics/probabilistict_end_tournaments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Probabilistic Ending Tournaments
33

44
It is possible to create a tournament where the length of each Match is not
55
constant for all encounters: after each turn the Match ends with a given
6-
probability::
6+
probability, [Axelrod1980b]_::
77

88
>>> import axelrod as axl
99
>>> players = [axl.Cooperator(), axl.Defector(),

0 commit comments

Comments
 (0)