class_docstr: A DiscreteSearchCallback class that handles mapping floating-point variables
  to discrete values.
docstr: Allowed values between lower and upper bounds.
docstr_tok: ["Allowed","values","between","lower","and","upper","bounds","."]
code: def allowed_values(self) -> List[Union[int, float]]:
      """Allowed values between lower and upper bounds."""
  
      return self._allowed_values
  
imports: from typing import List, TypeVar, Union
  import numpy
  import opytimizer.utils.exception
  from opytimizer.core.space import Space
label_desc: Use image node_id 2 for calling the DiscreteSearchCallback obj's underlying member method code with example usage: obj.allowed_values() and returns: self