class_docstr: See ``SuccessiveHalving`` for documentation.
docstr: In contrast to Successive Halving, Hyperband uses multiple brackets. Each time a new batch
  is added to the tracker, the bracket is increased.
code: def _get_next_bracket(self) -> int:
      """In contrast to Successive Halving, Hyperband uses multiple brackets. Each time a new batch
      is added to the tracker, the bracket is increased.
      """
      current_bracket = self._next_bracket
      next_bracket = current_bracket + 1
  
      if next_bracket > self._s_max or next_bracket < 0:
          next_bracket = 0
  
      self._next_bracket = next_bracket
  
      return current_bracket
  
file_path: SMAC3/smac/intensifier/hyperband.py
imports: from __future__ import annotations
  from typing import Any
  from smac.intensifier.successive_halving import SuccessiveHalving
label_desc: Use image node_id 5 for calling the Hyperband obj's underlying member method code with example usage: obj._get_next_bracket() and returns: current_bracket