class_docstr: Base class for test multi-objective test functions.
  
  TODO: add a pareto distance function that returns the distance
  between a provided point and the closest point on the true pareto front.
class_docstr_tok: ["Base","class","for","test","multi-objective","test","functions",".","TODO",":","add","a","pareto","distance","function","that","returns","the","distance","between","a","provided","point","and","the","closest","point","on","the","true","pareto","front","."]
code: def max_hv(self) -> float:
      try:
          return self._max_hv
      except AttributeError:
          raise NotImplementedError(
              f"Problem {self.__class__.__name__} does not specify maximal "
              "hypervolume."
          )
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import List, Tuple, Union
  import torch
  from botorch.exceptions.errors import InputDataError
  from torch import Tensor
  from torch.nn import Module
label_desc: Use image node_id 2 for calling the MultiObjectiveTestProblem obj's underlying member method code with example usage: obj.max_hv() and returns: self