class_docstr: Abstract interface for all replay buffer implementations.
docstr: Add a single transition (rollout length == 1) to the buffer.
  
  :param transition: The actor transition to be added to the buffer.
docstr_tok: ["Add","a","single","transition","(","rollout","length","==","1",")","to","the","buffer",".",":","param","transition",":","The","actor","transition","to","be","added","to","the","buffer","."]
code: def add_transition(
      self,
      transition: Union[StructuredSpacesRecord, SpacesTrajectoryRecord],
  ) -> None:
      """Add a single transition (rollout length == 1) to the buffer.
  
      :param transition: The actor transition to be added to the buffer.
      """
  
file_path: maze/maze/train/trainers/common/replay_buffer/replay_buffer.py
imports: from abc import abstractmethod
  from typing import Union, List
  import numpy
  from maze.core.trajectory_recording.records.structured_spaces_record import StructuredSpacesRecord
  from maze.core.trajectory_recording.records.trajectory_record import SpacesTrajectoryRecord
label_desc: Use image node_id 3 for calling the BaseReplayBuffer obj's underlying member method code with example usage: obj.add_transition(transition) without return types