|
bitsim
Model, simulate, estimate and control robots in C++
|
#include <epsilon_double_qtable_greedy_policy.h>


Public Types | |
| typedef TableType | table_type |
| table_type | |
Public Member Functions | |
| EpsilonDoubleQTableGreedyPolicy (real_t eps, uint_t n_actions, EpsilonDecayOptionType decay_op, real_t min_eps=0.01, real_t max_eps=1.0, real_t eps_decay=0.2, uint_t seed=0) | |
| EpsilonDoubleQTableGreedyPolicy. | |
| template<typename StateTp> | |
| uint_t | operator() (const TableType &q1, const TableType &q2, const StateTp &state) const |
| operator() | |
| void | adjust_on_episode (uint_t episode) noexcept |
| adjust_on_episode | |
| void | reset () noexcept |
| reset | |
| void | set_epsilon_decay_factor (real_t eps_decay) noexcept |
| set_epsilon_decay_factor | |
| real_t | eps_value () const noexcept |
| eps_value | |
| void | set_seed (const uint_t seed) noexcept |
| set_seed | |
| template<typename VectorType> | |
| uint_t | choose_action_index (const VectorType &values) const |
Additional Inherited Members | |
| Protected Member Functions inherited from bitrl::rl::with_decay_epsilon_option_mixin | |
| void | seed_generator () |
| seed_generator. Seeds the generator with seed | |
| real_t | decay_eps (uint_t episode_index) |
| decay_eps | |
| template<typename VectorType> | |
| uint_t | choose_action_index (const VectorType &values) const |
| Static Protected Member Functions inherited from bitrl::rl::with_double_q_table_max_action_mixin | |
| template<typename TableTp, typename StateTp> | |
| static uint_t | max_action (const TableTp &q1_table, const TableTp &q2_table, const StateTp &state, uint_t n_actions) |
| Returns the max action by averaging the state values from the two tables. | |
| template<typename TableTp, typename StateTp> | |
| static uint_t | max_action (const TableTp &q1_table, const StateTp &state, uint_t n_actions) |
| Returns the max action by averaging the state values from the two tables. | |
| Protected Attributes inherited from bitrl::rl::with_decay_epsilon_option_mixin | |
| real_t | eps_init |
| real_t | eps |
| real_t | min_eps |
| real_t | max_eps |
| real_t | epsilon_decay |
| uint_t | n_actions |
| uint_t | seed |
| EpsilonDecayOptionType | decay_op |
| std::mt19937 | generator {} |
| The generator of the random numbers. seed_generator() seeds it with seed; a new generator in every call would give the same number. | |
| typedef TableType bitrl::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::table_type |
|
explicit |
|
noexcept |
adjust_on_episode
| episode |
| uint_t bitrl::rl::with_decay_epsilon_option_mixin::choose_action_index | ( | const VectorType & | values | ) | const |
|
inlinenoexcept |
eps_value
| uint_t bitrl::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::operator() | ( | const TableType & | q1, |
| const TableType & | q2, | ||
| const StateTp & | state ) const |
operator()
|
inlinenoexcept |
reset
|
inlinenoexcept |
set_epsilon_decay_factor
| eps_decay |
|
inlinenoexcept |
set_seed
| seed |