class_docstr: A BSO class, inherited from Optimizer.
  
  This is the designed class to define BSO-related
  variables and methods.
  
  References:
      Y. Shi. Brain Storm Optimization Algorithm.
      International Conference in Swarm Intelligence (2011).
class_docstr_tok: ["A","BSO","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","BSO-related","variables","and","methods",".","References",":","Y.","Shi",".","Brain","Storm","Optimization","Algorithm",".","International","Conference","in","Swarm","Intelligence","(","2011",")","."]
code: def p_double_best(self, p_double_best: float) -> None:
      if not isinstance(p_double_best, (float, int)):
          raise e.TypeError(
              "`p_double_best` should be a float or integer"
          )
      if p_double_best < 0 or p_double_best > 1:
          raise e.ValueError(
              "`p_double_best` should be between 0 and 1"
          )
  
      self._p_double_best = p_double_best
  
imports: import copy
  from typing import Any, Dict, List, Optional, Tuple
  import numpy
  import opytimizer.math.general
  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 11 for calling the BSO obj's underlying member method code with example usage: obj.p_double_best(p_double_best) without return types