trajectory ========== .. py:module:: trajectory Classes ------- .. autoapisummary:: trajectory.Trajectory Module Contents --------------- .. py:class:: Trajectory .. py:attribute:: state_actions :value: [] .. py:attribute:: rewards :value: [] .. py:attribute:: additional_info :value: [] .. py:method:: update_step(state, action, reward, timestep: Optional[int] = None, **kwargs) .. py:method:: record_step(state, action, reward, **kwargs) .. py:method:: get_step_with_info(timestep: int) .. py:method:: get_step(timestep: int) .. py:method:: get_state_action(timestep: int) .. py:method:: get_state(timestep: int) .. py:method:: get_reward(timestep: int) .. py:method:: check_state_action_appearance_before_timestep(state_action, timestep) .. py:method:: get_trajectory_length() .. py:method:: clear()