File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ class DynamicTwoTitsForTat(Player):
114
114
115
115
name = 'Dynamic Two Tits For Tat'
116
116
classifier = {
117
- 'memory_depth' : 2 , # Long memory, memory-2
117
+ 'memory_depth' : float ( "inf" ),
118
118
'stochastic' : True ,
119
119
'makes_use_of' : set (),
120
120
'long_run_time' : False ,
@@ -127,7 +127,7 @@ class DynamicTwoTitsForTat(Player):
127
127
def strategy (opponent ):
128
128
# First move
129
129
if not opponent .history :
130
- # Make sure we cooporate first turn
130
+ # Make sure we cooperate first turn
131
131
return C
132
132
if D in opponent .history [- 2 :]:
133
133
# Probability of cooperating regardless
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ class TestDynamicTwoTitsForTat(TestPlayer):
124
124
name = 'Dynamic Two Tits For Tat'
125
125
player = axelrod .DynamicTwoTitsForTat
126
126
expected_classifier = {
127
- 'memory_depth' : 2 ,
127
+ 'memory_depth' : float ( "inf" ) ,
128
128
'stochastic' : True ,
129
129
'makes_use_of' : set (),
130
130
'inspects_source' : False ,
You can’t perform that action at this time.
0 commit comments