Module simulation

Source
Expand description

Simulating agent-environment interaction

Structs§

LogSteps
Simulation steps with logging.
MapTransient
OnlineStepsSummary
Online calculation of simulation step statistics.
Step
Description of an environment step.
Steps
Iterator of environment-actor steps.
StepsSummary
Summary statistics of simulation steps.
TakeAlignedSteps
An iterator over the next at most n steps of steps. Attempts to complete the last episode.
TakeEpisodes
An iterator that iterates over the first n episodes of steps.
TrainParallelConfig
Configuration for train_parallel.

Enums§

SimSeed
Seed for simulation pseudo-random state.

Traits§

Simulation
An environment-actor simulation
StepsIter
An iterator of simulation steps.

Functions§

train_parallel
Train a batch learning agent in parallel across several threads.
train_serial
Train a batch learning agent in this thread.

Type Aliases§

PartialStep
Partial description of an environment step.
TransientStep
Description of an environment step where the successor observation is borrowed.