class_docstr: A WWO class, inherited from Optimizer.
  
  This is the designed class to define WWO-related
  variables and methods.
  
  References:
      Y.-J. Zheng. Water wave optimization: A new nature-inspired metaheuristic.
      Computers & Operations Research (2015).
code: def h_max(self, h_max: int) -> None:
      if not isinstance(h_max, int):
          raise e.TypeError("`h_max` should be an integer")
      if h_max <= 0:
          raise e.ValueError("`h_max` should be > 0")
  
      self._h_max = h_max
  
imports: import copy
  from typing import Any, Dict, List, Optional, Tuple
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.agent import Agent
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 3 for calling the WWO obj's underlying member method code with example usage: obj.h_max(h_max) without return types