AIToolbox
A library that offers tools for AI problem solving.
AIToolbox::Factored::Bandit::PolicyInterface Class Reference

Simple typedef for most of a normal Bandit's policy needs. More...

#include <AIToolbox/Factored/Bandit/Policies/PolicyInterface.hpp>

Inheritance diagram for AIToolbox::Factored::Bandit::PolicyInterface:
AIToolbox::PolicyInterface< void, void, Action > AIToolbox::Factored::Bandit::EpsilonPolicy AIToolbox::Factored::Bandit::LLRPolicy AIToolbox::Factored::Bandit::MAUCEPolicy AIToolbox::Factored::Bandit::QGreedyPolicy< Maximizer > AIToolbox::Factored::Bandit::RandomPolicy AIToolbox::Factored::Bandit::SingleActionPolicy AIToolbox::Factored::Bandit::ThompsonSamplingPolicy

Public Types

using Base = AIToolbox::PolicyInterface< void, void, Action >
 

Additional Inherited Members

- Public Member Functions inherited from AIToolbox::PolicyInterface< void, void, Action >
 PolicyInterface (Action a)
 Basic constructor. More...
 
virtual ~PolicyInterface ()
 Basic virtual destructor. More...
 
virtual Action sampleAction () const =0
 This function chooses a random action, following the policy distribution. More...
 
virtual double getActionProbability (const Action &a) const =0
 This function returns the probability of taking the specified action. More...
 
const Action & getA () const
 This function returns the number of available actions to the agent. More...
 
- Protected Attributes inherited from AIToolbox::PolicyInterface< void, void, Action >
Action A
 
RandomEngine rand_
 

Detailed Description

Simple typedef for most of a normal Bandit's policy needs.

Member Typedef Documentation

◆ Base


The documentation for this class was generated from the following file: