bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
dp_algo_base.h
Go to the documentation of this file.
1#ifndef DP_ALGO_BASE_H
2#define DP_ALGO_BASE_H
3
6
7#include <tuple>
8#include <vector>
9#include <string>
10#include <type_traits>
11
12namespace cuberl {
13namespace rl::algos::dp
14{
15
19 template<typename EnvType>
20 class DPSolverBase: public RLSolverBase<EnvType>
21 {
22 public:
23
28
29 // state type should be integral
30 static_assert(std::is_integral<typename EnvType::state_type>::value);
31 static_assert(std::is_integral<typename EnvType::action_type>::value);
32
36 virtual ~DPSolverBase() = default;
37
38 protected:
39
44 DPSolverBase()=default;
45
46
47 };
48
49}
50}
51
52#endif // DP_ALGO_BASE_H
RLAlgoBase. Base class for RL algorithms.
Definition rl_algorithm_base.h:18
EnvType env_type
Definition rl_algorithm_base.h:22
The DPSolverBase class.
Definition dp_algo_base.h:21
virtual ~DPSolverBase()=default
Destructor.
DPSolverBase()=default
DPAlgoBase.
RLSolverBase< EnvType >::env_type env_type
The environment type the solver is using.
Definition dp_algo_base.h:27
Various utilities used when working with RL problems.
Definition cuberl_types.h:16