class_docstr: An AIG class, inherited from Optimizer.
  
  This is the designed class to define AIG-related
  variables and methods.
  
  References:
      P. Pijarski and P. Kacejko.
      A new metaheuristic optimization method: the algorithm of the innovative gunner (AIG).
      Engineering Optimization (2019).
class_docstr_tok: ["An","AIG","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","AIG-related","variables","and","methods",".","References",":","P.","Pijarski","and","P.","Kacejko",".","A","new","metaheuristic","optimization","method",":","the","algorithm","of","the","innovative","gunner","(","AIG",")",".","Engineering","Optimization","(","2019",")","."]
code: def beta(self, beta: float) -> None:
      if not isinstance(beta, (float, int)):
          raise e.TypeError("`beta` should be a float or integer")
      if beta < 0 or beta > np.pi * 2:
          raise e.ValueError("`beta` should be between 0 and 2PI")
  
      self._beta = beta
  
file_path: opytimizer/opytimizer/optimizers/science/aig.py
imports: import copy
  from typing import Any, Dict, Optional
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 5 for calling the AIG obj's underlying member method code with example usage: obj.beta(beta) without return types