![]() |
aGrUM
0.20.3
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) More... | |
Initialization | |
virtual void | initialize (FMDP< double > *fmdp)=0 |
Initializes the learner. More... | |
Incremental methods | |
virtual bool | addObservation (Idx actionId, const Observation *obs)=0 |
Gives to the learner a new transition. More... | |
virtual void | updateFMDP ()=0 |
Starts an update of datastructure in the associated FMDP. More... | |
Miscelleanous methods | |
virtual Size | size ()=0 |
learnerSize More... | |
virtual const IVisitableGraphLearner * | varLearner (Idx actionId, const DiscreteVariable *var) const =0 |
Required for RMax. More... | |
virtual double | rMax () const =0 |
learnerSize More... | |
virtual double | modaMax () const =0 |
learnerSize More... | |
<agrum/FMDP/SDyna/ILearningStrategy.h>
Interface for manipulating FMDP learner
Definition at line 55 of file ILearningStrategy.h.
|
inlinevirtual |
Destructor (virtual and empty since it's an interface)
Definition at line 64 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 >.