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

The settings of a Q-learning agent among others, and of IndependentQLearning. More...

#include <q_learning_agent.h>

Public Attributes

real_t gamma {0.99}
 the discount factor
real_t eta {0.1}
 the learning rate
real_t eps_max {1.0}
 the exploration at the start
real_t eps_min {0.05}
 the exploration it decays to
real_t eps_decay {0.01}
 eps = eps_min + (eps_max - eps_min) exp(-eps_decay * episode)
uint_t seed {42}
 every agent explores with its own generator, seeded from this

Detailed Description

The settings of a Q-learning agent among others, and of IndependentQLearning.

Member Data Documentation

◆ eps_decay

real_t bitrl::rl::multi_agent::IndependentQLearningConfig::eps_decay {0.01}

eps = eps_min + (eps_max - eps_min) exp(-eps_decay * episode)

◆ eps_max

real_t bitrl::rl::multi_agent::IndependentQLearningConfig::eps_max {1.0}

the exploration at the start

◆ eps_min

real_t bitrl::rl::multi_agent::IndependentQLearningConfig::eps_min {0.05}

the exploration it decays to

◆ eta

real_t bitrl::rl::multi_agent::IndependentQLearningConfig::eta {0.1}

the learning rate

◆ gamma

real_t bitrl::rl::multi_agent::IndependentQLearningConfig::gamma {0.99}

the discount factor

◆ seed

uint_t bitrl::rl::multi_agent::IndependentQLearningConfig::seed {42}

every agent explores with its own generator, seeded from this


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