class_docstr: A DOA class, inherited from Optimizer.
  
  This is the designed class to define DOA-related
  variables and methods.
  
  References:
      F. Demir et al. A survival classification method for hepatocellular carcinoma patients
      with chaotic Darcy optimization method based feature selection.
      Medical Hypotheses (2020).
class_docstr_tok: ["A","DOA","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","DOA-related","variables","and","methods",".","References",":","F.","Demir","et","al",".","A","survival","classification","method","for","hepatocellular","carcinoma","patients","with","chaotic","Darcy","optimization","method","based","feature","selection",".","Medical","Hypotheses","(","2020",")","."]
docstr: Calculates the chaotic map (eq. 3).
  
  Args:
      lb: Lower bound value.
      ub: Upper bound value.
  
  Returns:
      (float): A new value for the chaotic map.
docstr_tok: ["Calculates","the","chaotic","map","(","eq",".","3",")",".","Args",":","lb",":","Lower","bound","value",".","ub",":","Upper","bound","value",".","Returns",":","(","float",")",":","A","new","value","for","the","chaotic","map","."]
code: def _calculate_chaotic_map(self, lb: float, ub: float) -> float:
      """Calculates the chaotic map (eq. 3).
  
      Args:
          lb: Lower bound value.
          ub: Upper bound value.
  
      Returns:
          (float): A new value for the chaotic map.
  
      """
  
      r1 = rnd.generate_uniform_random_number(lb, ub)
  
      # Calculates the chaotic map (eq. 3)
      c_map = (
          self.r * r1 * (1 - r1)
          + ((4 - self.r) * np.sin(np.pi * r1)) / 4
      )
  
      return c_map
  
file_path: opytimizer/opytimizer/optimizers/misc/doa.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 DOA obj's underlying member method code with example usage: obj._calculate_chaotic_map(lb, ub) and returns: c_map