AIToolbox
A library that offers tools for AI problem solving.
PolicyInterface.hpp
Go to the documentation of this file.
1
#ifndef AI_TOOLBOX_MDP_POLICY_INTERFACE_HEADER_FILE
2
#define AI_TOOLBOX_MDP_POLICY_INTERFACE_HEADER_FILE
3
4
#include <
AIToolbox/Types.hpp
>
5
#include <
AIToolbox/PolicyInterface.hpp
>
6
7
namespace
AIToolbox::MDP
{
11
class
PolicyInterface
:
public
virtual
AIToolbox::PolicyInterface
<size_t, size_t, size_t> {
12
public
:
13
using
Base
=
AIToolbox::PolicyInterface<size_t, size_t, size_t>
;
14
26
virtual
Matrix2D
getPolicy
()
const
= 0;
27
};
28
}
29
30
#endif
31
AIToolbox::Matrix2D
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor|Eigen::AutoAlign > Matrix2D
Definition:
Types.hpp:18
AIToolbox::PolicyInterface
This class represents the base interface for policies.
Definition:
PolicyInterface.hpp:31
AIToolbox::MDP
Definition:
DoubleQLearning.hpp:10
PolicyInterface.hpp
AIToolbox::MDP::PolicyInterface::getPolicy
virtual Matrix2D getPolicy() const =0
This function returns a matrix containing all probabilities of the policy.
Types.hpp
AIToolbox::MDP::PolicyInterface
Simple typedef for most of MDP's policy needs.
Definition:
PolicyInterface.hpp:11