示例#1
0
 def Search(self, Clever_Stupid, label):
     dictHash = dict_hash(self.input_n, label, Clever_Stupid)
     self.let_who_win = label
     dict_ret = self.MAX_Value(self.RotateList, self.NegativeExtreme, self.PositiveExtreme, dictHash, label, 1)
     del dictHash
     if dict_ret["label1"]:
         return dict_ret["label3"]
示例#2
0
 def Search(self, Clever_Stupid, label):
     dictHash = dict_hash(self.input_n, label, Clever_Stupid)
     self.let_who_win = label
     dict_ret = self.MAX_Value(self.RotateList, self.NegativeExtreme,
                               self.PositiveExtreme, dictHash, label, 1)
     del dictHash
     if dict_ret['label1']:
         return dict_ret['label3']
示例#3
0
 def Search(self, label):
     dictHash = dict_hash(self.input_n, label)
     dict_ret = self.MAX_Value(self.RotateList, self.NegativeExtreme,
                               self.PositiveExtreme, dictHash, label, 1)
     del dictHash
     if dict_ret['label1']:
         self.logger.debug("dict_ret['label3'] : %s",
                           str(dict_ret['label3']))
         return dict_ret['label3']