class_docstr: A BSA class, inherited from Optimizer.
  
  This is the designed class to define BSOA-related
  variables and methods.
  
  References:
      P. Civicioglu. Backtracking search optimization algorithm for numerical optimization problems.
      Applied Mathematics and Computation (2013).
class_docstr_tok: ["A","BSA","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","BSOA-related","variables","and","methods",".","References",":","P.","Civicioglu",".","Backtracking","search","optimization","algorithm","for","numerical","optimization","problems",".","Applied","Mathematics","and","Computation","(","2013",")","."]
docstr: Performs the mutation operator.
  
  Args:
      agents: List of agents.
  
  Returns:
      (List[Agent]): A list holding the trial agents.
docstr_tok: ["Performs","the","mutation","operator",".","Args",":","agents",":","List","of","agents",".","Returns",":","(","List","[","Agent","]",")",":","A","list","holding","the","trial","agents","."]
code: def _mutate(self, agents: List[Agent]) -> List[Agent]:
      """Performs the mutation operator.
  
      Args:
          agents: List of agents.
  
      Returns:
          (List[Agent]): A list holding the trial agents.
  
      """
  
      trial_agents = copy.deepcopy(agents)
  
      r1 = r.generate_uniform_random_number()
  
      for trial_agent, agent, old_agent in zip(
          trial_agents, agents, self.old_agents
      ):
          trial_agent.position = agent.position + self.F * r1 * (
              old_agent.position - agent.position
          )
          trial_agent.clip_by_bound()
  
      return trial_agents
  
imports: import copy
  from typing import Any, Dict, List, Optional
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.agent import Agent
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 10 for calling the BSA obj's underlying member method code with example usage: obj._mutate(agents) and returns: trial_agents