API Reference of gxm#

Core API#

gxm.Timestep(reward, terminated, truncated, ...)

Class representing a single timestep \((R_i, S_{i+1})\) in an environment.

gxm.Transition(prev_obs, prev_info, action, ...)

Class representing a single transition \((S_i, A_i, R_i, S_{i+1})\) in an environment.

gxm.Trajectory(obs, true_obs, action, ...)

Class representing a trajectory \((S_0, A_0, R_0, S_1, ..., S_n)\) in an environment.

gxm.EnvironmentState()

A placeholder class for environment state.

gxm.Environment()

Base class for environments in gxm.

Modules#

gxm.wrappers

Wrappers for gxm environments.

gxm.spaces

Spaces for defining action and observation spaces.