bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
ppo_parallel_rollouts::SlowCartPole Struct Reference
Collaboration diagram for ppo_parallel_rollouts::SlowCartPole:

Public Types

typedef CartPole::time_step_type time_step_type
typedef CartPole::state_type state_type
typedef CartPole::action_type action_type

Public Member Functions

void make (const std::string &version, const std::unordered_map< std::string, std::any > &make_options, const std::unordered_map< std::string, std::any > &reset_options)
time_step_type reset ()
time_step_type step (const action_type &action)
void close ()

Public Attributes

CartPole env

Static Public Attributes

static constexpr real_t STEP_COST = 1.0e-3

Member Typedef Documentation

◆ action_type

◆ state_type

◆ time_step_type

Member Function Documentation

◆ close()

void ppo_parallel_rollouts::SlowCartPole::close ( )
inline

◆ make()

void ppo_parallel_rollouts::SlowCartPole::make ( const std::string & version,
const std::unordered_map< std::string, std::any > & make_options,
const std::unordered_map< std::string, std::any > & reset_options )
inline

◆ reset()

time_step_type ppo_parallel_rollouts::SlowCartPole::reset ( )
inline

◆ step()

time_step_type ppo_parallel_rollouts::SlowCartPole::step ( const action_type & action)
inline

Member Data Documentation

◆ env

CartPole ppo_parallel_rollouts::SlowCartPole::env

◆ STEP_COST

real_t ppo_parallel_rollouts::SlowCartPole::STEP_COST = 1.0e-3
staticconstexpr

The documentation for this struct was generated from the following file: