def METHOD_NAME(self, budget: float, objective: float):
    """Records the current ``budget`` and ``objective`` values in the object and
    pass it to the stopper if one is being used.
    Args:
        budget (float): the budget used.
        objective (float): the objective value obtained.
    """
    if self.stopper:
        self.stopper.observe(budget, objective)
    else:
        self.obs = objective