class_docstr: An LOA class, inherited from Optimizer.
  
  This is the designed class to define LOA-related
  variables and methods.
  
  References:
      M. Yazdani and F. Jolai. Lion Optimization Algorithm (LOA): A nature-inspired metaheuristic algorithm.
      Journal of Computational Design and Engineering (2016).
class_docstr_tok: ["An","LOA","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","LOA-related","variables","and","methods",".","References",":","M.","Yazdani","and","F.","Jolai",".","Lion","Optimization","Algorithm","(","LOA",")",":","A","nature-inspired","metaheuristic","algorithm",".","Journal","of","Computational","Design","and","Engineering","(","2016",")","."]
docstr: Initialization method.
  
  Args:
      params: Contains key-value parameters to the meta-heuristics.
code: def __init__(self, params: Optional[Dict[str, Any]] = None) -> None:
      """Initialization method.
  
      Args:
          params: Contains key-value parameters to the meta-heuristics.
  
      """
  
      logger.info("Overriding class: Optimizer -> LOA.")
  
      super(LOA, self).__init__()
  
      self.N = 0.2
      self.P = 4
  
      self.S = 0.8
      self.R = 0.2
      self.I = 0.4
  
      self.Ma = 0.3
      self.Mu = 0.2
  
      self.build(params)
  
      logger.info("Class overrided.")
  
imports: import copy
  import itertools
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import opytimizer.math.distribution
  import opytimizer.math.general
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  from opytimizer.core import Agent, Optimizer
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 1 to create a new LOA object from inherited base classes: Optimizer with example: obj = LOA(params)