class_docstr: A DE class, inherited from Optimizer.
  
  This is the designed class to define DE-related
  variables and methods.
  
  References:
      R. Storn. On the usage of differential evolution for function optimization.
      Proceedings of North American Fuzzy Information Processing (1996).
class_docstr_tok: ["A","DE","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","DE-related","variables","and","methods",".","References",":","R.","Storn",".","On","the","usage","of","differential","evolution","for","function","optimization",".","Proceedings","of","North","American","Fuzzy","Information","Processing","(","1996",")","."]
code: def CR(self, CR: float) -> None:
      if not isinstance(CR, (float, int)):
          raise e.TypeError("`CR` should be a float or integer")
      if CR < 0 or CR > 1:
          raise e.ValueError("`CR` should be between 0 and 1")
  
      self._CR = CR
  
imports: import copy
  from typing import Any, Dict, Optional
  import numpy
  import opytimizer.math.distribution
  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 3 for calling the DE obj's underlying member method code with example usage: obj.CR(CR) without return types