bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType > Class Template Reference

#include <epsilon_double_qtable_greedy_policy.h>

Inheritance diagram for cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >:
Collaboration diagram for cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >:

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
 choose_action_index
 
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
 

Member Typedef Documentation

◆ table_type

template<typename TableType >
typedef TableType cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::table_type

table_type

Constructor & Destructor Documentation

◆ EpsilonDoubleQTableGreedyPolicy()

template<typename TableType >
cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::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 
)
explicit

Member Function Documentation

◆ adjust_on_episode()

template<typename TableType >
void cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::adjust_on_episode ( uint_t  episode)
noexcept

choose_action_index

adjust_on_episode

Parameters
episode

◆ eps_value()

template<typename TableType >
real_t cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::eps_value ( ) const
inlinenoexcept

eps_value

◆ operator()()

template<typename TableType >
template<typename StateTp >
uint_t cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::operator() ( const TableType &  q1,
const TableType &  q2,
const StateTp &  state 
) const

operator()

◆ reset()

template<typename TableType >
void cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::reset ( )
inlinenoexcept

reset

◆ set_epsilon_decay_factor()

template<typename TableType >
void cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::set_epsilon_decay_factor ( real_t  eps_decay)
inlinenoexcept

set_epsilon_decay_factor

Parameters
eps_decay

◆ set_seed()

template<typename TableType >
void cubeai::rl::policies::EpsilonDoubleQTableGreedyPolicy< TableType >::set_seed ( const uint_t  seed)
inlinenoexcept

set_seed

Parameters
seed

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