def _log_data(self, net_info_type='active_only', start_time=0):
    log_list = [self.num_gen, self.num_eval, (time.time() - start_time), self.pop[0].eval, self.pop[0].size, self.pop[0].count_active_node()]
    if (net_info_type == 'active_only'):
        log_list.append(self.pop[0].active_net_list())
    elif (net_info_type == 'full'):
        log_list += self.pop[0].gene.flatten().tolist()
    else:
        pass
    return log_list
def _log_data(self, net_info_type='active_only', start_time=0):
    log_list = [self.num_gen, self.num_eval, (time.time() - start_time), self.pop[0].eval, self.pop[0].size, self.pop[0].count_active_node()]
    if (net_info_type == 'active_only'):
        log_list.append(self.pop[0].active_net_list())
    elif (net_info_type == 'full'):
        log_list += self.pop[0].gene.flatten().tolist()
    else:
        pass
    return log_list