Skip to content

Commit 12c3c7e

Browse files
authored
Merge pull request #755 from Axelrod-Python/strategies
Add back StochasticCooperator
2 parents f83b481 + 177412a commit 12c3c7e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

axelrod/strategies/_strategies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
MindReader,
159159
MindWarper,
160160
MirrorMindReader,
161-
Negation,
161+
Negation,
162162
NiceAverageCopier,
163163
Nydegger,
164164
OmegaTFT,
@@ -189,6 +189,7 @@
189189
SolutionB1,
190190
SolutionB5,
191191
SpitefulTitForTat,
192+
StochasticCooperator,
192193
StochasticWSLS,
193194
SuspiciousTitForTat,
194195
Tester,

docs/tutorials/advanced/classification_of_strategies.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ strategies::
4747
... }
4848
>>> strategies = axl.filtered_strategies(filterset)
4949
>>> len(strategies)
50-
38
50+
39
5151

5252

5353
Or, to find out how many strategies only use 1 turn worth of memory to
@@ -58,7 +58,7 @@ make a decision::
5858
... }
5959
>>> strategies = axl.filtered_strategies(filterset)
6060
>>> len(strategies)
61-
25
61+
26
6262

6363
Multiple filters can be specified within the filterset dictionary. To specify a
6464
range of memory_depth values, we can use the 'min_memory_depth' and
@@ -70,7 +70,7 @@ range of memory_depth values, we can use the 'min_memory_depth' and
7070
... }
7171
>>> strategies = axl.filtered_strategies(filterset)
7272
>>> len(strategies)
73-
42
73+
43
7474

7575
We can also identify strategies that make use of particular properties of the
7676
tournament. For example, here is the number of strategies that make use of the

0 commit comments

Comments
 (0)