|
| 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 Types inherited from bitrl::envs::gymnasium::lunar_lander_detail::_LunarLanderEnv< TimeStep< std::vector< real_t > >, ContinuousVectorStateDiscreteActionEnv< 8, 4, 0, real_t > > |
| typedef GymnasiumEnvBase< TimeStep< std::vector< real_t > >, ContinuousVectorStateDiscreteActionEnv< 8, 4, 0, real_t > >::base_type | 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.
|
| |
| typedef EnvBase< TimeStepType, SpaceType > | base_type |
| | Base environment type alias.
|
| |
| typedef base_type::time_step_type | time_step_type |
| | Time step returned at each environment step.
|
| |
| typedef base_type::state_space_type | state_space_type |
| | Type describing the observation/state space of the environment.
|
| |
| typedef base_type::action_space_type | action_space_type |
| | Type describing the action space of the environment.
|
| |
| typedef base_type::action_type | action_type |
| | Type representing a valid action to execute.
|
| |
| typedef base_type::state_type | state_type |
| | Type representing a state/observation returned by the environment.
|
| |
| typedef TimeStepType | time_step_type |
| | Alias for the type returned when stepping the environment.
|
| |
| typedef SpaceType::state_space | state_space_type |
| | Type describing the environment state space.
|
| |
| typedef SpaceType::state_type | state_type |
| | Type describing an individual state.
|
| |
| typedef SpaceType::action_space | action_space_type |
| | Type describing the environment action space.
|
| |
| typedef SpaceType::action_type | action_type |
| | Type representing an individual action.
|
| |
|
| | LunarLanderDiscreteEnv (network::RESTRLEnvClient &api_server) |
| |
| | LunarLanderDiscreteEnv (const LunarLanderDiscreteEnv &other) |
| |
| | ~LunarLanderDiscreteEnv () override=default |
| | ~Pendulum. Destructor
|
| |
Public Member Functions inherited from bitrl::envs::gymnasium::lunar_lander_detail::_LunarLanderEnv< TimeStep< std::vector< real_t > >, ContinuousVectorStateDiscreteActionEnv< 8, 4, 0, real_t > > |
| | _LunarLanderEnv (network::RESTRLEnvClient &api_server, const std::string &name, const std::string &uri) |
| |
| | _LunarLanderEnv (const _LunarLanderEnv &other) |
| |
| | ~_LunarLanderEnv ()=default |
| | ~Pendulum. Destructor
|
| |
| virtual void | make (const std::string &version, const std::unordered_map< std::string, std::any > &options, const std::unordered_map< std::string, std::any > &reset_options) override final |
| | make. Build the environment
|
| |
| virtual time_step_type | step (const action_type &action) override final |
| | step. Step in the environment following the given action
|
| |
| uint_t | n_actions () const noexcept |
| | n_actions. Returns the number of actions
|
| |
| virtual | ~GymnasiumEnvBase () |
| | Virtual destructor.
|
| |
| virtual bool | is_alive () const |
| | Check whether the environment is still alive/connected.
|
| |
| virtual void | close () override |
| | Close the environment on the server and release any resources.
|
| |
| virtual time_step_type | reset () override |
| | Reset the environment to an initial state using the reset options specified during make.
|
| |
| uint_t | n_copies () const |
| |
| network::RESTRLEnvClient & | get_api_server () const |
| | Retrieve the REST API wrapper instance used for communication.
|
| |
| std::string | get_url () const |
| | Get the full URL for this environment endpoint on the server.
|
| |
| virtual time_step_type | reset ()=0 |
| | Import the reset() overloads from the base class.
|
| |
| virtual | ~EnvBase ()=default |
| | Virtual destructor.
|
| |
| const std::unordered_map< std::string, std::any > & | make_options () const noexcept |
| | Access the configuration options provided to make().
|
| |
| const std::unordered_map< std::string, std::any > & | reset_options () const noexcept |
| | Access the configuration options provided to make().
|
| |
| template<typename T > |
| T | read_option (const std::string &op_name) const |
| | Read a specific make() option and cast it to the requested type.
|
| |
| std::string | idx () const noexcept |
| | Get the id identifying this environment within a simulation batch. The id is valid only if make has been called.
|
| |
| bool | is_created () const noexcept |
| | Check if make() has successfully initialized the environment.
|
| |
| std::string | env_name () const noexcept |
| | Get the name of this environment instance.
|
| |
| std::string | version () const noexcept |
| | Get the environment version set during make().
|
| |
LunarLanderDiscreteEnv environment with discrete action space.