time_step¶
Module time_step. Specifies a wrapper for representing a step in the environment
- time_step.copy_time_step(time_step: TimeStep, **copy_options) TimeStep ¶
Helper to copy partly or in whole a TimeStep namedtuple. If copy_options is None or empty it returns a deep copy of the given time step
- Parameters
time_step (The time step to copy) –
copy_options (Members to be copied) –
- Return type
An instance of the TimeStep namedtuple
- class time_step.StepType(value)¶
Defines the status of a TimeStep within a sequence.
- class time_step.TimeStep(step_type, info, reward, discount, observation)¶