bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitrl::rl Namespace Reference

Namespaces

namespace  agents
namespace  algos
namespace  distributed
namespace  multi_agent
namespace  policies
namespace  envs

Classes

struct  EpisodeInfo
 The EpisodeInfo struct. More...
struct  ConstantLRScheduler
 struct ConstantLRScheduler. Echos bach the learning rate it was given More...
struct  InverseDecayLRScheduler
 struct InverseDecayLRScheduler. Decays the learning rate it was given with the episodes, as alpha / (1 + episode / decay), but not below min_alpha. A constant learning rate keeps the estimates of Monte Carlo and temporal difference methods moving with every new return; a decaying one lets them settle on the mean. More...
struct  with_decay_epsilon_option_mixin
 The with_decay_epsilon_option_mixin struct. More...
struct  with_q_table_mixin
 The WithQTableMixin struct. More...
struct  with_double_q_table_mixin
struct  with_double_q_table_mixin< DynMat< real_t > >
 The WithDoubleQTableMixin struct. More...
struct  with_double_q_table_mixin< std::map< KeyTp, DynVec< real_t > > >
struct  with_double_q_table_max_action_mixin
struct  RLSerialTrainerConfig
 The RLSerialTrainerConfig struct. Configuration struct for the serial RL agent trainer. More...
class  RLSerialAgentTrainer

Enumerations

enum class  EpsilonDecayOptionType : int {
  INVALID_TYPE = 0 , NONE , EXPONENTIAL , INVERSE_STEP ,
  CONSTANT_RATE
}

Functions

std::ostream & operator<< (std::ostream &out, const EpisodeInfo &info)
uint_t max_action (const DynMat< real_t > &qtable, uint_t state, uint_t n_actions)
 max_action

Detailed Description

Utility class used in the implementation of RL algorithms

Enumeration Type Documentation

◆ EpsilonDecayOptionType

enum class bitrl::rl::EpsilonDecayOptionType : int
strong
Enumerator
INVALID_TYPE 
NONE 
EXPONENTIAL 
INVERSE_STEP 
CONSTANT_RATE 

Function Documentation

◆ max_action()

uint_t bitrl::rl::max_action ( const DynMat< real_t > & qtable,
uint_t state,
uint_t n_actions )

max_action

Parameters
qtable
state
n_actions
Returns

◆ operator<<()

std::ostream & bitrl::rl::operator<< ( std::ostream & out,
const EpisodeInfo & info )
inline