Namespace Gym
Classes
- Gymnasium
Gymnasium's top-level module,
import gymnasium as gym: Make(string, object?, long?, bool?), Spec(string), Register(string, object?, double?, bool, long?, bool, bool, IEnumerable<WrapperSpec>?, object?, object?), Registry, PprintRegistry(IReadOnlyDictionary<string, EnvSpec>?, int, IEnumerable<string?>?, bool) and RegisterEnvs(object?), re-exported from EnvRegistry as Python re-exports them fromgymnasium.envs.registration, plus the app-wide human-mode viewer (DR-20).
- Gymnasium.Envs
The ids Gym.NET.Environments registers, as constants (DR-88):
Gymnasium.Make(Gymnasium.Envs.CartPoleV1), orMake(Envs.CartPoleV1)withusing static Gym.Gymnasium;, so the compiler catches a mistyped id and the IDE lists the built-in envs.