class_docstr: An MRFO class, inherited from Optimizer.
  
  This is the designed class to define MRFO-related
  variables and methods.
  
  References:
      W. Zhao, Z. Zhang and L. Wang.
      Manta Ray Foraging Optimization: An effective bio-inspired optimizer for engineering applications.
      Engineering Applications of Artificial Intelligence (2020).
class_docstr_tok: ["An","MRFO","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","MRFO-related","variables","and","methods",".","References",":","W.","Zhao",",","Z.","Zhang","and","L.","Wang",".","Manta","Ray","Foraging","Optimization",":","An","effective","bio-inspired","optimizer","for","engineering","applications",".","Engineering","Applications","of","Artificial","Intelligence","(","2020",")","."]
docstr: Somersault foraging.
docstr_tok: ["Somersault","foraging","."]
code: def S(self) -> float:
      """Somersault foraging."""
  
      return self._S
  
file_path: opytimizer/opytimizer/optimizers/swarm/mrfo.py
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 2 for calling the MRFO obj's underlying member method code with example usage: obj.S() and returns: self