|
CRAAM
2.0.0
Robust and Approximate Markov Decision Processes
|
A solution to a plain MDP. More...
#include <values.hpp>
Public Member Functions | |
| Solution (size_t statecount) | |
| Empty solution for a problem with statecount states. | |
| Solution (numvec valuefunction, indvec policy, prec_t residual=-1, long iterations=-1) | |
| Empty solution for a problem with a given value function and policy. | |
| prec_t | total_return (const Transition &initial) const |
| Computes the total return of the solution given the initial distribution. More... | |
Public Attributes | |
| numvec | valuefunction |
| Value function. | |
| indvec | policy |
| index of the action to take for each states | |
| prec_t | residual |
| Bellman residual of the computation. | |
| long | iterations |
| Number of iterations taken. | |
A solution to a plain MDP.
|
inline |
Computes the total return of the solution given the initial distribution.
| initial | The initial distribution |
1.8.13