![]() |
aGrUM
0.14.2
|
<agrum/FMDP/decision/statisticalLazyDecider.h> More...
#include <statisticalLazyDecider.h>
Public Member Functions | |
Constructor & destructor. | |
StatisticalLazyDecider () | |
Constructor. More... | |
~StatisticalLazyDecider () | |
Destructor. More... | |
Initialization | |
virtual void | initialize (const FMDP< double > *fmdp) |
Initializes the learner. More... | |
Incremental methods | |
StatesCounter | __counter |
bool | __initialized |
void | checkState (const Instantiation &newState, Idx actionId=0) |
Incremental methods | |
void | setOptimalStrategy (const MultiDimFunctionGraph< ActionSet, SetTerminalNodePolicy > *optPol) |
virtual ActionSet | stateOptimalPolicy (const Instantiation &curState) |
const MultiDimFunctionGraph< ActionSet, SetTerminalNodePolicy > * | _optPol |
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 50 of file statisticalLazyDecider.h.
|
inline |
Constructor.
Definition at line 59 of file statisticalLazyDecider.h.
|
inline |
Destructor.
Definition at line 66 of file statisticalLazyDecider.h.
|
inlinevirtual |
Implements gum::IDecisionStrategy.
Definition at line 76 of file statisticalLazyDecider.h.
References __counter, __initialized, gum::StatesCounter::incState(), and gum::StatesCounter::reset().
|
inlinevirtualinherited |
Initializes the learner.
Reimplemented in gum::AdaptiveRMaxPlaner, and gum::E_GreedyDecider.
Definition at line 69 of file IDecisionStrategy.h.
References gum::IDecisionStrategy::_allActions, gum::IDecisionStrategy::_optPol, gum::FMDP< GUM_SCALAR >::beginActions(), gum::IDecisionStrategy::checkState(), gum::FMDP< GUM_SCALAR >::endActions(), and gum::ActionSet::size().
Referenced by gum::E_GreedyDecider::initialize(), gum::AdaptiveRMaxPlaner::initialize(), and gum::SDYNA::initialize().
|
inlineinherited |
Definition at line 87 of file IDecisionStrategy.h.
References gum::IDecisionStrategy::_optPol.
Referenced by gum::SDYNA::makePlanning().
|
inlinevirtualinherited |
Reimplemented in gum::E_GreedyDecider, and gum::RandomDecider.
Definition at line 94 of file IDecisionStrategy.h.
References gum::IDecisionStrategy::_allActions, and gum::IDecisionStrategy::_optPol.
Referenced by gum::E_GreedyDecider::stateOptimalPolicy(), and gum::SDYNA::takeAction().
|
private |
Definition at line 85 of file statisticalLazyDecider.h.
Referenced by checkState().
|
private |
Definition at line 86 of file statisticalLazyDecider.h.
Referenced by checkState().
|
protectedinherited |
Definition at line 104 of file IDecisionStrategy.h.
Referenced by gum::IDecisionStrategy::initialize(), gum::RandomDecider::stateOptimalPolicy(), gum::E_GreedyDecider::stateOptimalPolicy(), and gum::IDecisionStrategy::stateOptimalPolicy().
|
protectedinherited |
Definition at line 101 of file IDecisionStrategy.h.
Referenced by gum::IDecisionStrategy::initialize(), gum::IDecisionStrategy::setOptimalStrategy(), and gum::IDecisionStrategy::stateOptimalPolicy().