arlbench.core.algorithms.common

Common data structures for algorithms.

Classes

TimeStep(last_obs, obs, action, reward, done)

A timestep capturing an environment interaction.

class arlbench.core.algorithms.common.TimeStep(last_obs, obs, action, reward, done)[source]

Bases: Mapping

A timestep capturing an environment interaction.

items() a set-like object providing a view on D's items
keys() a set-like object providing a view on D's keys
values() an object providing a view on D's values