@@ -95,7 +95,7 @@ def __init__(self, p=None):
9595 TitForTat is equivalent to GTFT(0)
9696 """
9797 self .p = p
98- super (self . __class__ , self ).__init__ ()
98+ super (GTFT , self ).__init__ ()
9999 self .init_args = (p ,)
100100
101101 def receive_tournament_attributes (self ):
@@ -141,7 +141,7 @@ def __init__(self, ep=0.05):
141141
142142 self .ep = ep
143143 four_vector = (1. - ep , ep , ep , 1. - ep )
144- super (self . __class__ , self ).__init__ (four_vector )
144+ super (StochasticWSLS , self ).__init__ (four_vector )
145145 self .init_args = (ep ,)
146146 self .set_four_vector (four_vector )
147147
@@ -199,13 +199,13 @@ def __init__(self, phi=0.25, s=0.5):
199199 """
200200 self .phi = phi
201201 self .s = s
202- super (self . __class__ , self ).__init__ ()
202+ super (ZDGTFT2 , self ).__init__ ()
203203 self .init_args = (phi , s )
204204
205205 def receive_tournament_attributes (self ):
206206 (R , P , S , T ) = self .tournament_attributes ["game" ].RPST ()
207207 self .l = R
208- super (self . __class__ , self ).receive_tournament_attributes (self .phi ,
208+ super (ZDGTFT2 , self ).receive_tournament_attributes (self .phi ,
209209 self .s ,
210210 self .l )
211211
@@ -224,13 +224,13 @@ def __init__(self, phi=1./9, s=0.5):
224224 """
225225 self .phi = phi
226226 self .s = s
227- super (self . __class__ , self ).__init__ ()
227+ super (ZDExtort2 , self ).__init__ ()
228228 self .init_args = (phi , s )
229229
230230 def receive_tournament_attributes (self ):
231231 (R , P , S , T ) = self .tournament_attributes ["game" ].RPST ()
232232 self .l = P
233- super (self . __class__ , self ).receive_tournament_attributes (self .phi ,
233+ super (ZDExtort2 , self ).receive_tournament_attributes (self .phi ,
234234 self .s ,
235235 self .l )
236236
@@ -260,7 +260,7 @@ def __init__(self, q=0.9):
260260 """
261261 self .q = q
262262 four_vector = (1. , 1 - q , 1 , 1 - q )
263- super (self . __class__ , self ).__init__ (four_vector )
263+ super (SoftJoss , self ).__init__ (four_vector )
264264 self .init_args = (q ,)
265265
266266 def __repr__ (self ):
0 commit comments