Class LunarLanderDiscreteEnv

Inheritance Relationships

Base Type

  • public bitrl::envs::gymnasium::lunar_lander_detail::_LunarLanderEnv< TimeStep< std::vector< real_t > >, ContinuousVectorStateDiscreteActionEnv< 8, 4, 0, real_t > > (Template Class _LunarLanderEnv)

Class Documentation

class LunarLanderDiscreteEnv : public bitrl::envs::gymnasium::lunar_lander_detail::_LunarLanderEnv<TimeStep<std::vector<real_t>>, ContinuousVectorStateDiscreteActionEnv<8, 4, 0, real_t>>

LunarLanderDiscreteEnv environment with discrete action space.

Public Types

typedef lunar_lander_detail::_LunarLanderEnv<TimeStep<std::vector<real_t>>, ContinuousVectorStateDiscreteActionEnv<8, 4, 0, real_t>> base_type

Base class type.

typedef base_type::time_step_type time_step_type

The time step type we return every time a step in the environment is performed.

typedef base_type::state_space_type state_space_type

The type describing the state space for the environment.

typedef base_type::action_space_type action_space_type

The type of the action space for the environment.

typedef base_type::action_type action_type

The type of the action to be undertaken in the environment.

typedef base_type::state_type state_type

The type of the state.

Public Functions

LunarLanderDiscreteEnv(const RESTApiServerWrapper &api_server)

Constructor

Parameters:

api_server

LunarLanderDiscreteEnv(const RESTApiServerWrapper &api_server, const uint_t cidx)

Constructor.

LunarLanderDiscreteEnv(const LunarLanderDiscreteEnv &other)
Parameters:

other

~LunarLanderDiscreteEnv() override = default

~Pendulum. Destructor

LunarLanderDiscreteEnv make_copy(uint_t cidx) const

Create a new copy of the environment with the given copy index.

Public Static Attributes

static const std::string name = "LunarLanderDiscrete"

name

static const std::string URI = "/gymnasium/lunar-lander-discrete-env"

The URI for accessing the environment.