Class LunarLanderEnvOptions
- Namespace
- Gym.Environments.Envs.Box2D
- Assembly
- Gym.Environments.dll
The keyword arguments of LunarLanderEnv's constructor as a typed record (DR-34), generated
from the constructor so it cannot drift from it. A property that is set becomes a keyword argument by its Python
name; one left unset is not passed, so make keeps the registered spec's value and the constructor its default.
public sealed record LunarLanderEnvOptions : IGymOptions, IEquatable<LunarLanderEnvOptions>
- Inheritance
-
LunarLanderEnvOptions
- Implements
- Inherited Members
- Extension Methods
Properties
Continuous
Gymnasium's continuous: two throttles (LunarLanderContinuous-v3) instead of four discrete actions.
The continuous keyword argument, passed on only once set.
public bool Continuous { get; init; }
Property Value
EnableWind
Gymnasium's enable_wind: a non-periodic sideways force and torque while no leg touches the ground.
The enable_wind keyword argument, passed on only once set.
public bool EnableWind { get; init; }
Property Value
Gravity
Gymnasium's gravity, in (-12, 0) m/s².
The gravity keyword argument, passed on only once set.
public double Gravity { get; init; }
Property Value
RenderMode
Gymnasium's render_mode: null, "human" or "rgb_array"; not validated, as in Gymnasium (make checks it). Any mode but null also makes the engines emit particles.
The render_mode keyword argument, passed on only once set.
public string? RenderMode { get; init; }
Property Value
TurbulencePower
Gymnasium's turbulence_power: the wind torque's magnitude (0 to 2 recommended).
The turbulence_power keyword argument, passed on only once set.
public double TurbulencePower { get; init; }
Property Value
ViewerFactory
Gym.NET's viewer_factory (DR-20) for human mode; null uses Gymnasium.HumanViewerFactory.
The viewer_factory keyword argument, passed on only once set.
public EnvViewerFactory? ViewerFactory { get; init; }
Property Value
WindPower
Gymnasium's wind_power: the wind force's magnitude (0 to 20 recommended).
The wind_power keyword argument, passed on only once set.
public double WindPower { get; init; }
Property Value
Methods
ToKwargs()
The set properties as keyword arguments by Python name, in constructor order.
public Info ToKwargs()
Returns
- Info
A new dict the caller owns.