class_docstr: A SearchSpace class for agents, variables and methods
  related to the search space.
docstr: Initialization method.
  
  Args:
      n_agents: Number of agents.
      n_variables: Number of decision variables.
      lower_bound: Minimum possible values.
      upper_bound: Maximum possible values.
      mapping: String-based identifiers for mapping variables' names.
docstr_tok: ["Initialization","method",".","Args",":","n_agents",":","Number","of","agents",".","n_variables",":","Number","of","decision","variables",".","lower_bound",":","Minimum","possible","values",".","upper_bound",":","Maximum","possible","values",".","mapping",":","String-based","identifiers","for","mapping","variables","'","names","."]
code: def __init__(
      self,
      n_agents: int,
      n_variables: int,
      lower_bound: Union[float, List, Tuple, np.ndarray],
      upper_bound: Union[float, List, Tuple, np.ndarray],
      mapping: Optional[List[str]] = None,
  ) -> None:
      """Initialization method.
  
      Args:
          n_agents: Number of agents.
          n_variables: Number of decision variables.
          lower_bound: Minimum possible values.
          upper_bound: Maximum possible values.
          mapping: String-based identifiers for mapping variables' names.
  
      """
  
      logger.info("Overriding class: Space -> SearchSpace.")
  
      n_dimensions = 1
  
      super(SearchSpace, self).__init__(
          n_agents,
          n_variables,
          n_dimensions,
          lower_bound,
          upper_bound,
          mapping,
      )
  
      self.build()
  
      logger.info("Class overrided.")
  
file_path: opytimizer/opytimizer/spaces/search.py
imports: import copy
  from typing import List, Optional, Tuple, Union
  import numpy
  from opytimizer.core import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 1 to create a new SearchSpace object from inherited base classes: Space with example: obj = SearchSpace(n_agents, n_variables, lower_bound, upper_bound, mapping)