Class Gymnasium.Envs
- Namespace
- Gym
- Assembly
- Gym.dll
The ids Gym.NET.Environments registers, as constants (DR-88): Gymnasium.Make(Gymnasium.Envs.CartPoleV1),
or Make(Envs.CartPoleV1) with using static Gym.Gymnasium;, so the compiler catches a mistyped
id and the IDE lists the built-in envs.
public static class Gymnasium.Envs
- Inheritance
-
Gymnasium.Envs
- Inherited Members
Remarks
Each constant is the id's exact string, Gymnasium's own ("CartPole-v1"); the strings keep working
everywhere. The ids register when Gym.NET.Environments loads (DR-12, DR-17): a constant names an id, it does
not register one, so an app without that package gets Gymnasium's NameNotFound for it as for the string.
A test keeps this list equal to the registered built-in ids.
Footgun: inside a Gym.* namespace the simple name Envs is the Gym.Envs namespace, so write
Gymnasium.Envs.CartPoleV1 there (and global::Gym.Gymnasium.Envs.CartPoleV1 where a
Gymnasium namespace hides the class, as in Gym.NET's own tests).
Fields
AcrobotV1
Acrobot-v1: AcrobotEnv, swinging the two links up, 500 steps, solved at -100.
public const string AcrobotV1 = "Acrobot-v1"
Field Value
AntV4
Ant-v4: AntEnvV4, a four-legged walker, 1000 steps, solved at 6000.
public const string AntV4 = "Ant-v4"
Field Value
AntV5
Ant-v5: AntEnvV5, 1000 steps, solved at 6000.
public const string AntV5 = "Ant-v5"
Field Value
BipedalWalkerHardcoreV3
BipedalWalkerHardcore-v3: BipedalWalkerEnv with obstacles (hardcore=True), 2000 steps, solved at 300.
public const string BipedalWalkerHardcoreV3 = "BipedalWalkerHardcore-v3"
Field Value
BipedalWalkerV3
BipedalWalker-v3: BipedalWalkerEnv, 1600 steps, solved at 300.
public const string BipedalWalkerV3 = "BipedalWalker-v3"
Field Value
BlackjackV1
Blackjack-v1: BlackjackEnv with Sutton and Barto's rules (sab=True, natural=False), no step limit.
public const string BlackjackV1 = "Blackjack-v1"
Field Value
CarRacingV3
CarRacing-v3: CarRacingEnv, driving a random track from pixels, 1000 steps, solved at 900.
public const string CarRacingV3 = "CarRacing-v3"
Field Value
CartPoleV0
CartPole-v0: CartPoleEnv, the pole balanced for up to 200 steps, solved at a return of 195.
public const string CartPoleV0 = "CartPole-v0"
Field Value
CartPoleV1
CartPole-v1: CartPoleEnv, the pole balanced for up to 500 steps, solved at a return of 475.
public const string CartPoleV1 = "CartPole-v1"
Field Value
CliffWalkingSlipperyV1
CliffWalkingSlippery-v1: CliffWalkingEnv with slippery moves (is_slippery=True), no step limit.
public const string CliffWalkingSlipperyV1 = "CliffWalkingSlippery-v1"
Field Value
CliffWalkingV1
CliffWalking-v1: CliffWalkingEnv, no step limit.
public const string CliffWalkingV1 = "CliffWalking-v1"
Field Value
FrozenLake8x8V1
FrozenLake8x8-v1: FrozenLakeEnv on the 8x8 map, 200 steps, solved at 0.85.
public const string FrozenLake8x8V1 = "FrozenLake8x8-v1"
Field Value
FrozenLakeV1
FrozenLake-v1: FrozenLakeEnv on the 4x4 map, 100 steps, solved at 0.70.
public const string FrozenLakeV1 = "FrozenLake-v1"
Field Value
HalfCheetahV4
HalfCheetah-v4: HalfCheetahEnvV4, running forward, 1000 steps, solved at 4800.
public const string HalfCheetahV4 = "HalfCheetah-v4"
Field Value
HalfCheetahV5
HalfCheetah-v5: HalfCheetahEnvV5, 1000 steps, solved at 4800.
public const string HalfCheetahV5 = "HalfCheetah-v5"
Field Value
HopperV4
Hopper-v4: HopperEnvV4, hopping forward without falling, 1000 steps, solved at 3800.
public const string HopperV4 = "Hopper-v4"
Field Value
HopperV5
Hopper-v5: HopperEnvV5, 1000 steps, solved at 3800.
public const string HopperV5 = "Hopper-v5"
Field Value
HumanoidStandupV4
HumanoidStandup-v4: HumanoidStandupEnvV4, standing up from the ground, 1000 steps, no threshold.
public const string HumanoidStandupV4 = "HumanoidStandup-v4"
Field Value
HumanoidStandupV5
HumanoidStandup-v5: HumanoidStandupEnvV5, 1000 steps, no threshold.
public const string HumanoidStandupV5 = "HumanoidStandup-v5"
Field Value
HumanoidV4
Humanoid-v4: HumanoidEnvV4, walking forward without falling, 1000 steps, no threshold.
public const string HumanoidV4 = "Humanoid-v4"
Field Value
HumanoidV5
Humanoid-v5: HumanoidEnvV5, 1000 steps, no threshold.
public const string HumanoidV5 = "Humanoid-v5"
Field Value
InvertedDoublePendulumV4
InvertedDoublePendulum-v4: InvertedDoublePendulumEnvV4, 1000 steps, solved at 9100.
public const string InvertedDoublePendulumV4 = "InvertedDoublePendulum-v4"
Field Value
InvertedDoublePendulumV5
InvertedDoublePendulum-v5: InvertedDoublePendulumEnvV5, 1000 steps, solved at 9100.
public const string InvertedDoublePendulumV5 = "InvertedDoublePendulum-v5"
Field Value
InvertedPendulumV4
InvertedPendulum-v4: InvertedPendulumEnvV4, 1000 steps, solved at 950.
public const string InvertedPendulumV4 = "InvertedPendulum-v4"
Field Value
InvertedPendulumV5
InvertedPendulum-v5: InvertedPendulumEnvV5, 1000 steps, solved at 950.
public const string InvertedPendulumV5 = "InvertedPendulum-v5"
Field Value
LunarLanderContinuousV3
LunarLanderContinuous-v3: LunarLanderEnv with continuous throttles (continuous=True), 1000 steps, solved at 200.
public const string LunarLanderContinuousV3 = "LunarLanderContinuous-v3"
Field Value
LunarLanderV3
LunarLander-v3: LunarLanderEnv with four discrete engine actions, 1000 steps, solved at 200.
public const string LunarLanderV3 = "LunarLander-v3"
Field Value
MountainCarContinuousV0
MountainCarContinuous-v0: MountainCarEnv with a continuous force (continuous=True), 999 steps, solved at 90.
public const string MountainCarContinuousV0 = "MountainCarContinuous-v0"
Field Value
MountainCarV0
MountainCar-v0: MountainCarEnv with three discrete pushes, 200 steps, solved at -110.
public const string MountainCarV0 = "MountainCar-v0"
Field Value
PendulumV1
Pendulum-v1: PendulumEnv, swinging the pendulum up, 200 steps, no threshold.
public const string PendulumV1 = "Pendulum-v1"
Field Value
PusherV4
Pusher-v4: PusherEnvV4, registered as Gymnasium registers it but refusing at construction, as
Gymnasium's does on MuJoCo 3 and later; use PusherV5.
public const string PusherV4 = "Pusher-v4"
Field Value
PusherV5
Pusher-v5: PusherEnvV5, an arm pushing a cylinder to a goal, 100 steps, solved at 0.
public const string PusherV5 = "Pusher-v5"
Field Value
ReacherV4
Reacher-v4: ReacherEnvV4, a two-joint arm reaching a random goal, 50 steps, solved at -3.75.
public const string ReacherV4 = "Reacher-v4"
Field Value
ReacherV5
Reacher-v5: ReacherEnvV5, 50 steps, solved at -3.75.
public const string ReacherV5 = "Reacher-v5"
Field Value
SwimmerV4
Swimmer-v4: SwimmerEnvV4, swimming forward in a viscous fluid, 1000 steps, solved at 360.
public const string SwimmerV4 = "Swimmer-v4"
Field Value
SwimmerV5
Swimmer-v5: SwimmerEnvV5, 1000 steps, solved at 360.
public const string SwimmerV5 = "Swimmer-v5"
Field Value
TaxiV4
Taxi-v4: TaxiEnv, 200 steps, solved at 8.
public const string TaxiV4 = "Taxi-v4"
Field Value
Walker2dV4
Walker2d-v4: Walker2dEnvV4, walking forward on two legs, 1000 steps, no threshold.
public const string Walker2dV4 = "Walker2d-v4"
Field Value
Walker2dV5
Walker2d-v5: Walker2dEnvV5, 1000 steps, no threshold.
public const string Walker2dV5 = "Walker2d-v5"