class_docstr: An STOA class, inherited from Optimizer.
  
  This is the designed class to define STOA-related
  variables and methods.
  
  References:
      G. Dhiman and A. Kaur. STOA: A bio-inspired based optimization algorithm for industrial engineering problems.
      Engineering Applications of Artificial Intelligence (2019).
class_docstr_tok: ["An","STOA","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","STOA-related","variables","and","methods",".","References",":","G.","Dhiman","and","A.","Kaur",".","STOA",":","A","bio-inspired","based","optimization","algorithm","for","industrial","engineering","problems",".","Engineering","Applications","of","Artificial","Intelligence","(","2019",")","."]
code: def v(self, v: float) -> None:
      if not isinstance(v, (float, int)):
          raise e.TypeError("`v` should be a float or integer")
      if v < 0:
          raise e.ValueError("`v` should be >= 0")
  
      self._v = v
  
file_path: opytimizer/opytimizer/optimizers/swarm/stoa.py
imports: from typing import Any, Dict, Optional
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 7 for calling the STOA obj's underlying member method code with example usage: obj.v(v) without return types