docstr: Experiment, currently set on this generation strategy.
docstr_tok: ["Experiment",",","currently","set","on","this","generation","strategy","."]
code: def experiment(self) -> Experiment:
      """Experiment, currently set on this generation strategy."""
      if self._experiment is None:
          raise ValueError("No experiment set on generation strategy.")
      return not_none(self._experiment)
  
file_path: Ax/ax/core/generation_strategy_interface.py
imports: from abc import ABC, abstractmethod
  from typing import List, Optional
  from ax.core.data import Data
  from ax.core.experiment import Experiment
  from ax.core.generator_run import GeneratorRun
  from ax.utils.common.base import Base
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 4 for calling the GenerationStrategyInterface obj's underlying member method code with example usage: obj.experiment() and returns: not_none