AIToolbox
A library that offers tools for AI problem solving.
|
Go to the documentation of this file. 1 #ifndef AI_TOOLBOX_MDP_RETRACE_L_HEADER_FILE
2 #define AI_TOOLBOX_MDP_RETRACE_L_HEADER_FILE
27 const double lambda = 0.9,
const double tolerance = 0.001,
const double epsilon = 0.1) :
28 Parent(behaviour.
getS(), behaviour.
getA(), discount, alpha, tolerance, epsilon),
43 if ( l < 0.0 || l > 1.0 )
throw std::invalid_argument(
"Lambda parameter must be in [0,1]");
57 double getTraceDiscount(
const size_t s,
const size_t a,
const size_t,
const double,
const size_t maxA)
const {
94 const double discount,
const double alpha,
const double lambda,
const double tolerance) :
95 Parent(target, discount, alpha, tolerance),
110 if ( l < 0.0 || l > 1.0 )
throw std::invalid_argument(
"Lambda parameter must be in [0,1]");
125 double getTraceDiscount(
const size_t s,
const size_t a,
const size_t,
const double)
const {