![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
<agrum/FMDP/decision/E_GreedyDecider.h> More...
#include <E_GreedyDecider.h>
Public Member Functions | |
Constructor & destructor. | |
E_GreedyDecider () | |
Constructor. More... | |
~E_GreedyDecider () | |
Destructor. More... | |
Initialization | |
void | initialize (const FMDP< double > *fmdp) |
Initializes the learner. More... | |
Incremental methods | |
void | checkState (const Instantiation &newState, Idx actionId) |
ActionSet | stateOptimalPolicy (const Instantiation &curState) |
Incremental methods | |
void | setOptimalStrategy (const MultiDimFunctionGraph< ActionSet, SetTerminalNodePolicy > *optPol) |
const MultiDimFunctionGraph< ActionSet, SetTerminalNodePolicy > * | optPol_ |
ActionSet | allActions_ |
<agrum/FMDP/decision/E_GreedyDecider.h>
Class to make decision following an epsilon-greedy compromise between exploration and exploitation
Definition at line 56 of file E_GreedyDecider.h.
gum::E_GreedyDecider::E_GreedyDecider | ( | ) |
Constructor.
Definition at line 48 of file E_GreedyDecider.cpp.
References gum::Set< Key, Alloc >::emplace().
gum::E_GreedyDecider::~E_GreedyDecider | ( | ) |
Destructor.
Definition at line 60 of file E_GreedyDecider.cpp.
References gum::Set< Key, Alloc >::emplace().
|
virtual |
Implements gum::IDecisionStrategy.
Definition at line 93 of file E_GreedyDecider.cpp.
References gum::Set< Key, Alloc >::emplace().
Initializes the learner.
Reimplemented from gum::IDecisionStrategy.
Definition at line 75 of file E_GreedyDecider.cpp.
References gum::Set< Key, Alloc >::emplace().
|
inlineinherited |
Definition at line 89 of file IDecisionStrategy.h.
|
virtual |
Reimplemented from gum::IDecisionStrategy.
Definition at line 106 of file E_GreedyDecider.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 100 of file E_GreedyDecider.h.
|
private |
Definition at line 99 of file E_GreedyDecider.h.
|
protectedinherited |
Definition at line 102 of file IDecisionStrategy.h.
|
protectedinherited |
Definition at line 99 of file IDecisionStrategy.h.