(self, solution_set: np.ndarray, reference_point: np.ndarray)
return self._compute(solution_set, reference_point)
Compute the hypervolume for the given solution set and reference point.

        .. note::
            We assume that all points in the solution set dominate or equal the reference point.
            In other words, for all points in the solution set and the coordinate ``i``,
            ``point[i] <= reference_point[i]``.

        Args:
            solution_set:
                The solution set which we want to compute the hypervolume.
            reference_point:
                The reference point to compute the hypervolume.
Compute the hypervolume for the given solution set and reference point.
Compute the hypervolume for the given solution set and reference point .
def compute(self, solution_set: np.ndarray, reference_point: np.ndarray) -> float:
        """Compute the hypervolume for the given solution set and reference point.

        .. note::
            We assume that all points in the solution set dominate or equal the reference point.
            In other words, for all points in the solution set and the coordinate ``i``,
            ``point[i] <= reference_point[i]``.

        Args:
            solution_set:
                The solution set which we want to compute the hypervolume.
            reference_point:
                The reference point to compute the hypervolume.
        """

        self._validate(solution_set, reference_point)
        return self._compute(solution_set, reference_point)
def compute ( self , solution_set : np . ndarray , reference_point : np . ndarray ) -> float : self . _validate ( solution_set , reference_point ) return self . _compute ( solution_set , reference_point )