|
bitsim
Model, simulate, estimate and control robots in C++
|
#include <reinforce_monitor.h>
Public Types | |
| typedef StateType | state_type |
| typedef ActionType | action_type |
| typedef std::tuple< state_type, action_type, real_t, bool, torch_tensor_t > | experience_tuple_type |
| typedef bitrl::utils::ExperienceBuffer< experience_tuple_type > | experience_buffer_type |
Public Member Functions | |
| void | reset () noexcept |
| template<typename T, uint_t index> | |
| std::vector< T > | get (const std::vector< experience_tuple_type > &experience) const |
Public Attributes | |
| std::vector< real_t > | rewards |
| monitor | |
| std::vector< real_t > | policy_loss_values |
| std::vector< uint_t > | episode_duration |
| typedef ActionType bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::action_type |
| typedef bitrl::utils::ExperienceBuffer<experience_tuple_type> bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::experience_buffer_type |
| typedef std::tuple<state_type, action_type, real_t, bool, torch_tensor_t > bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::experience_tuple_type |
| typedef StateType bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::state_type |
| std::vector< T > bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::get | ( | const std::vector< experience_tuple_type > & | experience | ) | const |
|
noexcept |
| std::vector<uint_t> bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::episode_duration |
| std::vector<real_t> bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::policy_loss_values |
| std::vector<real_t> bitrl::rl::algos::pg::ReinforceMonitor< ActionType, StateType >::rewards |
monitor