AIToolbox
A library that offers tools for AI problem solving.
|
Go to the documentation of this file. 1 #ifndef AI_TOOLBOX_MDP_RLEARNING_HEADER_FILE
2 #define AI_TOOLBOX_MDP_RLEARNING_HEADER_FILE
61 RLearning(
size_t S,
size_t A,
double alpha = 0.1,
double rho = 0.1);
78 template <IsGenerativeModel M>
79 RLearning(
const M& model,
double alpha = 0.1,
double rho = 0.1);
145 void stepUpdateQ(
size_t s,
size_t a,
size_t s1,
double rew);
199 template <IsGenerativeModel M>
201 RLearning(model.getS(), model.getA(), alpha, rho) {}