Template Class GymnasiumVecEnvBase¶
Defined in File gymnasium_vector_env_base.h
Inheritance Relationships¶
Base Type¶
public bitrl::envs::gymnasium::GymnasiumEnvBase< VectorTimeStepType, SpaceType >(Template Class GymnasiumEnvBase)
Class Documentation¶
-
template<typename VectorTimeStepType, typename SpaceType>
class GymnasiumVecEnvBase : public bitrl::envs::gymnasium::GymnasiumEnvBase<VectorTimeStepType, SpaceType>¶ Public Types
-
typedef GymnasiumEnvBase<VectorTimeStepType, SpaceType>::base_type base_type¶
The base 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.
Public Functions
-
virtual void make(const std::string &version, const std::unordered_map<std::string, std::any> &options) = 0¶
make. Builds the environment.
- Parameters:
version. – the version of the environment to build
options. – Options to use for building the environment. Concrete classes may choose to hold a copy
-
inline void reset_if_any_done(bool flag) noexcept¶
-
inline bool get_reset_if_any_done() const noexcept¶
Protected Functions
-
GymnasiumVecEnvBase(const RESTApiServerWrapper &api_server, const uint_t cidx, const std::string &name)¶
Constructor.
-
GymnasiumVecEnvBase(const GymnasiumVecEnvBase &other)¶
-
typedef GymnasiumEnvBase<VectorTimeStepType, SpaceType>::base_type base_type¶