class_docstr: A BOA class, inherited from Optimizer.
  
  This is the designed class to define BOA-related
  variables and methods.
  
  References:
      S. Arora and S. Singh. Butterfly optimization algorithm: a novel approach for global optimization.
      Soft Computing (2019).
code: def fragrance(self, fragrance: np.ndarray) -> None:
      if not isinstance(fragrance, np.ndarray):
          raise e.TypeError("`fragrance` should be a numpy array")
  
      self._fragrance = fragrance
  
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 9 for calling the BOA obj's underlying member method code with example usage: obj.fragrance(fragrance) without return types