AIToolbox
A library that offers tools for AI problem solving.
QPolicyInterface.hpp
Go to the documentation of this file.
1
#ifndef AI_TOOLBOX_MDP_QPOLICY_INTERFACE_HEADER_FILE
2
#define AI_TOOLBOX_MDP_QPOLICY_INTERFACE_HEADER_FILE
3
4
#include <
AIToolbox/MDP/Policies/PolicyInterface.hpp
>
5
#include <
AIToolbox/MDP/Types.hpp
>
6
7
namespace
AIToolbox::MDP
{
20
class
QPolicyInterface
:
public
virtual
PolicyInterface
{
21
public
:
27
QPolicyInterface
(
const
QFunction
& q);
28
34
const
QFunction
&
getQFunction
()
const
;
35
36
protected
:
37
const
QFunction
&
q_
;
38
};
39
}
40
41
#endif
AIToolbox::MDP::QPolicyInterface
This class is an interface to specify a policy through a QFunction.
Definition:
QPolicyInterface.hpp:20
AIToolbox::MDP::QPolicyInterface::getQFunction
const QFunction & getQFunction() const
This function returns the underlying QFunction reference.
PolicyInterface.hpp
AIToolbox::MDP::QFunction
Matrix2D QFunction
Definition:
Types.hpp:52
AIToolbox::MDP
Definition:
DoubleQLearning.hpp:10
AIToolbox::MDP::QPolicyInterface::QPolicyInterface
QPolicyInterface(const QFunction &q)
Basic constructor.
AIToolbox::MDP::QPolicyInterface::q_
const QFunction & q_
Definition:
QPolicyInterface.hpp:37
Types.hpp
AIToolbox::MDP::PolicyInterface
Simple typedef for most of MDP's policy needs.
Definition:
PolicyInterface.hpp:11