AIToolbox
A library that offers tools for AI problem solving.
|
Go to the documentation of this file. 1 #ifndef AI_TOOLBOX_MDP_POLICY_ITERATION_HEADER_FILE
2 #define AI_TOOLBOX_MDP_POLICY_ITERATION_HEADER_FILE
75 const auto S = m.getS();
76 const auto A = m.getA();
86 auto [bound, v, q] = eval(p);
93 for (
size_t s = 0; s < S; ++s) {
94 for (
size_t a = 0; a < A; ++a) {
96 matrix = std::move(newMatrix);