Example #1
0
 def __init__(self, start_ratio=0.6):
   self.start_ratio = start_ratio
   HistoryPlayer.__init__(self)
Example #2
0
 def __init__(self):
   HistoryPlayer.__init__(self)
   self.hunt_ratio_history = []
Example #3
0
 def __init__(self):
     HistoryPlayer.__init__(self)
     self.hunt_ratio_history = []
Example #4
0
 def __repr__(self):
   s = HistoryPlayer.__repr__(self)
   if len(self.hunt_ratio_history) > 0:
     s += " ratio:%.2f" %(self.hunt_ratio_history[0] )
   return s
Example #5
0
 def __repr__(self):
     s = HistoryPlayer.__repr__(self)
     if len(self.hunt_ratio_history) > 0:
         s += " ratio:%.2f" % (self.hunt_ratio_history[0])
     return s