AIToolbox
A library that offers tools for AI problem solving.
PolicyInterface.hpp
Go to the documentation of this file.
1 #ifndef AI_TOOLBOX_BANDIT_POLICY_INTERFACE_HEADER_FILE
2 #define AI_TOOLBOX_BANDIT_POLICY_INTERFACE_HEADER_FILE
3 
4 #include <AIToolbox/Types.hpp>
6 
7 namespace AIToolbox::Bandit {
11  class PolicyInterface : public virtual AIToolbox::PolicyInterface<void, void, size_t> {
12  public:
14 
26  virtual Vector getPolicy() const = 0;
27  };
28 }
29 
30 #endif
AIToolbox::Bandit::PolicyInterface::getPolicy
virtual Vector getPolicy() const =0
This function returns a vector containing all probabilities of the policy.
AIToolbox::Bandit::PolicyInterface
Simple typedef for most of a normal Bandit's policy needs.
Definition: PolicyInterface.hpp:11
AIToolbox::PolicyInterface
This class represents the base interface for policies.
Definition: PolicyInterface.hpp:31
AIToolbox::Vector
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
Definition: Types.hpp:16
AIToolbox::Bandit
Definition: Experience.hpp:6
PolicyInterface.hpp
Types.hpp