code: def annealing(self):
          '''
          Annealing.
          '''
          self.__predicted_log_list = []
          for cycle in range(self.__cycles_num):
              for mc_step in range(self.__mc_step):
                  self.__move()
              self.__gammma *= self.__fractional_reduction
  
              if isinstance(self.__tolerance_diff_e, float) and len(self.__predicted_log_list) > 1:
                  diff = abs(self.__predicted_log_list[-1][5] - self.__predicted_log_list[-2][5])
                  if diff < self.__tolerance_diff_e:
                      break
  
          self.predicted_log_arr = np.array(self.__predicted_log_listf annealing(self):
          '''
          Annealing.
          '''
          self.__predicted_log_list = []
          for cycle in range(self.__cycles_num):
              for mc_step in range(self.__mc_step):
                  self.__move()
              self.__gammma *= self.__fractional_reduction
  
              if isinstance(self.__tolerance_diff_e, float) and len(self.__predicted_log_list) > 1:
                  diff = abs(self.__predicted_log_list[-1][5] - self.__predicted_log_list[-2][5])
                  if diff < self.__tolerance_diff_e:
                      break
  
          self.predicted_log_arr = np.array(self.__predicted_log_list)
docs: Annealing.