def METHOD_NAME(
    self,
    study: "multi_objective.study.MultiObjectiveStudy",
    trial: "multi_objective.trial.FrozenMultiObjectiveTrial",
    search_space: Dict[str, BaseDistribution],
) -> Dict[str, Any]:
    """Sample parameters in a given search space.
    This method is called once at the beginning of each trial, i.e., right before the
    evaluation of the objective function. This method is suitable for sampling algorithms
    that use the relationship between parameters.
    Args:
        study:
            Target study object.
        trial:
            Target trial object.
        search_space:
            The search space returned by
            :func:`~optuna.multi_objective.samplers.BaseMultiObjectiveSampler.infer_relative_search_space`.
    Returns:
        A dictionary containing the parameter names and the values.
    """
    raise NotImplementedError