![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
<agrum/FMDP/SDyna/ILearningStrategy.h> More...
#include <ILearningStrategy.h>
Public Member Functions | |
Constructor & destructor. | |
| virtual | ~ILearningStrategy () |
| Destructor (virtual and empty since it's an interface). | |
Initialization | |
| virtual void | initialize (FMDP< double > *fmdp)=0 |
| Initializes the learner. | |
Incremental methods | |
| virtual bool | addObservation (Idx actionId, const Observation *obs)=0 |
| Gives to the learner a new transition. | |
| virtual void | updateFMDP ()=0 |
| Starts an update of datastructure in the associated FMDP. | |
Miscelleanous methods | |
| virtual Size | size ()=0 |
| learnerSize | |
| virtual const IVisitableGraphLearner * | varLearner (Idx actionId, const DiscreteVariable *var) const =0 |
| Required for RMax. | |
| virtual double | rMax () const =0 |
| learnerSize | |
| virtual double | modaMax () const =0 |
| learnerSize | |
<agrum/FMDP/SDyna/ILearningStrategy.h>
Interface for manipulating FMDP learner
Definition at line 74 of file ILearningStrategy.h.
|
inlinevirtual |
Destructor (virtual and empty since it's an interface).
Definition at line 84 of file ILearningStrategy.h.
|
pure virtual |
Gives to the learner a new transition.
| actionId | : the action on which the transition was made |
| obs | : the observed transition |
Implemented in gum::FMDPLearner< VariableAttributeSelection, RewardAttributeSelection, LearnerSelection >.
Initializes the learner.
Implemented in gum::FMDPLearner< VariableAttributeSelection, RewardAttributeSelection, LearnerSelection >.
|
pure virtual |
learnerSize
Implemented in gum::FMDPLearner< VariableAttributeSelection, RewardAttributeSelection, LearnerSelection >.
|
pure virtual |
learnerSize
Implemented in gum::FMDPLearner< VariableAttributeSelection, RewardAttributeSelection, LearnerSelection >.
|
pure virtual |
learnerSize
Implemented in gum::FMDPLearner< VariableAttributeSelection, RewardAttributeSelection, LearnerSelection >.
|
pure virtual |
Starts an update of datastructure in the associated FMDP.
Implemented in gum::FMDPLearner< VariableAttributeSelection, RewardAttributeSelection, LearnerSelection >.
|
pure virtual |
Required for RMax.
Implemented in gum::FMDPLearner< VariableAttributeSelection, RewardAttributeSelection, LearnerSelection >.