def __init__(
        self: TDatasetExperience,
        origin_stream: "CLStream[TDatasetExperience]",
        dataset: TCLDataset,
        current_experience: int,
        classes_in_this_exp: Optional[Sequence[int]],
        previous_classes: Optional[Sequence[int]],
        classes_seen_so_far: Optional[Sequence[int]],
        future_classes: Optional[Sequence[int]],
    ):
        """
        Creates an instance of an experience given the benchmark
        stream, the current experience ID and data about the classes timeline.

        :param origin_stream: The stream from which this experience was
            obtained.
        :param current_experience: The current experience ID, as an integer.
        :param classes_in_this_exp: The list of classes in this experience.
        :param previous_classes: The list of classes in previous experiences.
        :param classes_seen_so_far: List of classes of current and previous
            experiences.
        :param future_classes: The list of classes of next experiences.
        """

        self.classes_in_this_experience: Optional[Sequence[int]] = classes_in_this_exp
        """ The list of classes in this experience """

        self.previous_classes: Optional[Sequence[int]] = previous_classes
        """ The list of classes in previous experiences """

        self.classes_seen_so_far: Optional[Sequence[int]] = classes_seen_so_far
        """ List of classes of current and previous experiences """

        self.future_classes: Optional[Sequence[int]] = future_classes
        """ The list of classes of next experiences """

        super().__init__(
            current_experience=current_experience,
            origin_stream=origin_stream,
            benchmark=origin_stream.benchmark,  # type: ignore
            dataset=dataset,
        )

        Creates an instance of an experience given the benchmark
        stream, the current experience ID and data about the classes timeline.

        :param origin_stream: The stream from which this experience was
            obtained.
        :param current_experience: The current experience ID, as an integer.
        :param classes_in_this_exp: The list of classes in this experience.
        :param previous_classes: The list of classes in previous experiences.
        :param classes_seen_so_far: List of classes of current and previous
            experiences.
        :param future_classes: The list of classes of next experiences.
        
avalanche/benchmarks/scenarios/deprecated/__init__.py