class_docstr: Base class for multi-objective samplers.
  
  The abstract methods of this class are the same as ones defined by
  :class:`~optuna.samplers.BaseSampler` except for taking
  multi-objective versions of study and trial instances as the arguments.
docstr: Infer the search space that will be used by relative sampling in the target trial.
  
  This method is called right before
  :func:`~optuna.multi_objective.samplers.BaseMultiObjectiveSampler.sample_relative`
  method, and the search space returned by this method is passed to it. The parameters not
  contained in the search space will be sampled by using
  :func:`~optuna.multi_objective.samplers.BaseMultiObjectiveSampler.sample_independent`
  method.
  
  Args:
      study:
          Target study object.
      trial:
          Target trial object.
  
  Returns:
      A dictionary containing the parameter names and parameter's distributions.
  
  .. seealso::
      Please refer to :func:`~optuna.search_space.intersection_search_space` as an
      implementation of
      :func:`~optuna.multi_objective.samplers.BaseMultiObjectiveSampler.infer_relative_search_space`.
code: def infer_relative_search_space(
      self,
      study: "multi_objective.study.MultiObjectiveStudy",
      trial: "multi_objective.trial.FrozenMultiObjectiveTrial",
  ) -> Dict[str, BaseDistribution]:
      """Infer the search space that will be used by relative sampling in the target trial.
  
      This method is called right before
      :func:`~optuna.multi_objective.samplers.BaseMultiObjectiveSampler.sample_relative`
      method, and the search space returned by this method is passed to it. The parameters not
      contained in the search space will be sampled by using
      :func:`~optuna.multi_objective.samplers.BaseMultiObjectiveSampler.sample_independent`
      method.
  
      Args:
          study:
              Target study object.
          trial:
              Target trial object.
  
      Returns:
          A dictionary containing the parameter names and parameter's distributions.
  
      .. seealso::
          Please refer to :func:`~optuna.search_space.intersection_search_space` as an
          implementation of
          :func:`~optuna.multi_objective.samplers.BaseMultiObjectiveSampler.infer_relative_search_space`.
      """
  
      raise NotImplementedError
  
file_path: optuna/optuna/multi_objective/samplers/_base.py
imports: import abc
  from typing import Any
  from typing import Dict
  from optuna import multi_objective
  from optuna._deprecated import deprecated_class
  from optuna.distributions import BaseDistribution
label_desc: Use image node_id 1 for calling the BaseMultiObjectiveSampler obj's underlying member method code with example usage: obj.infer_relative_search_space(study, trial) without return types