def _globalWarming(self):
        """ increase temperature """
        if self.temp == 0:
            self.temp = 0.02
        else:
            self.temp *= 1.2
        if self.temp > self.maxTemperature:
            return False
        elif self._setTemperature() == False:
            # not adjustable, keep it fixed then.
            self.temp = self.minTemperature
            return False
        return True
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/twoplayergames/tasks/relativegomokutask.py/RelativeGomokuTask._globalWarming/original