Namespace Gym.Observations
Structs
- DoneStepResult<TObs>
A transition in the pre-0.26 "done" step API,
(observation, reward, done, info), which StepApiCompatibility converts to and from StepResult<TObs>.donemerges termination and truncation;info["TimeLimit.truncated"]tells them apart.
- ResetResult<TObs>
The first observation of an episode and its diagnostics,
(observation, info). Deconstructs like a tuple:var (obs, info) = env.Reset(seed: 42);.
- StepResult<TObs>
One environment transition,
(observation, reward, terminated, truncated, info). Deconstructs like a tuple:var (obs, reward, terminated, truncated, info) = env.Step(action);.