![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
<agrum/FMDP/decision/statisticalLazyDecider.h> More...
#include <statisticalLazyDecider.h>
Public Member Functions | |
Constructor & destructor. | |
| StatisticalLazyDecider () | |
| Constructor. | |
| ~StatisticalLazyDecider () | |
| Destructor. | |
Initialization | |
| virtual void | initialize (const FMDP< double > *fmdp) |
| Initializes the learner. | |
Incremental methods | |
| StatesCounter | _counter_ |
| bool | _initialized_ |
| void | checkState (const Instantiation &newState, Idx actionId=0) |
Incremental methods | |
| void | setOptimalStrategy (MultiDimFunctionGraph< ActionSet, SetTerminalNodePolicy > *optPol) |
| virtual ActionSet | stateOptimalPolicy (const Instantiation &curState) |
| const MultiDimFunctionGraph< ActionSet, SetTerminalNodePolicy > * | optPol_ {nullptr} |
| ActionSet | allActions_ |
<agrum/FMDP/decision/statisticalLazyDecider.h>
Class to make no decision at all yet performing statistic on visited states. Actions are randomly chosen among all actions available
Does nothing more for decison making But count how many times every visited states have been visited
Definition at line 74 of file statisticalLazyDecider.h.
|
inline |
Constructor.
Definition at line 84 of file statisticalLazyDecider.h.
References StatisticalLazyDecider(), _counter_, and _initialized_.
Referenced by StatisticalLazyDecider(), and ~StatisticalLazyDecider().
|
inline |
Destructor.
Definition at line 91 of file statisticalLazyDecider.h.
References StatisticalLazyDecider().
|
inlinevirtual |
Implements gum::IDecisionStrategy.
Definition at line 105 of file statisticalLazyDecider.h.
References _counter_, and _initialized_.
|
inlinevirtualinherited |
Initializes the learner.
Reimplemented in gum::AdaptiveRMaxPlaner, and gum::E_GreedyDecider.
Definition at line 93 of file IDecisionStrategy.h.
References allActions_, gum::FMDP< GUM_SCALAR >::beginActions(), gum::FMDP< GUM_SCALAR >::endActions(), and optPol_.
Referenced by gum::AdaptiveRMaxPlaner::initialize(), and gum::E_GreedyDecider::initialize().
|
inlineinherited |
Definition at line 111 of file IDecisionStrategy.h.
References optPol_.
|
inlinevirtualinherited |
Reimplemented in gum::E_GreedyDecider, and gum::RandomDecider.
Definition at line 115 of file IDecisionStrategy.h.
References allActions_, and optPol_.
Referenced by gum::E_GreedyDecider::stateOptimalPolicy().
|
private |
Definition at line 113 of file statisticalLazyDecider.h.
Referenced by StatisticalLazyDecider(), and checkState().
|
private |
Definition at line 114 of file statisticalLazyDecider.h.
Referenced by StatisticalLazyDecider(), and checkState().
|
protectedinherited |
Definition at line 124 of file IDecisionStrategy.h.
Referenced by initialize(), gum::E_GreedyDecider::stateOptimalPolicy(), stateOptimalPolicy(), and gum::RandomDecider::stateOptimalPolicy().
|
protectedinherited |
Definition at line 121 of file IDecisionStrategy.h.
Referenced by initialize(), setOptimalStrategy(), and stateOptimalPolicy().