class_docstr: An RPSO class, inherited from Optimizer.
  
  This is the designed class to define RPSO-related
  variables and methods.
  
  References:
      M. Roder, G. H. de Rosa, L. A. Passos, A. L. D. Rossi and J. P. Papa.
      Harnessing Particle Swarm Optimization Through Relativistic Velocity.
      IEEE Congress on Evolutionary Computation (2020).
class_docstr_tok: ["An","RPSO","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","RPSO-related","variables","and","methods",".","References",":","M.","Roder",",","G.","H.","de","Rosa",",","L.","A.","Passos",",","A.","L.","D.","Rossi","and","J.","P.","Papa",".","Harnessing","Particle","Swarm","Optimization","Through","Relativistic","Velocity",".","IEEE","Congress","on","Evolutionary","Computation","(","2020",")","."]
docstr: Initialization method.
  
  Args:
      params: Contains key-value parameters to the meta-heuristics.
docstr_tok: ["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: PSO -> RPSO.")
  
      super(RPSO, self).__init__(params)
  
      logger.info("Class overrided.")
  
imports: import copy
  import time
  from typing import Any, Dict, List, Optional
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.constant
  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 1 to create a new RPSO object from inherited base classes: PSO with example: obj = RPSO(params)