aGrUM  0.14.2
E_GreedyDecider.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Christophe GONZALES and Pierre-Henri WUILLEMIN *
3  * {prenom.nom}_at_lip6.fr *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
28 // =========================================================================
29 #ifndef GUM_E_GREEDY_DECIDER_H
30 #define GUM_E_GREEDY_DECIDER_H
31 // =========================================================================
32 #include <agrum/core/types.h>
33 // =========================================================================
36 #include <agrum/FMDP/fmdp.h>
39 // =========================================================================
41 // =========================================================================
42 
43 namespace gum {
44 
54  // ###################################################################
56  // ###################################################################
58  public:
59  // ==========================================================================
61  // ==========================================================================
63 
64  // ==========================================================================
66  // ==========================================================================
68 
70 
71  // ###################################################################
73  // ###################################################################
75  public:
76  // ==========================================================================
78  // ==========================================================================
79  void initialize(const FMDP< double >* fmdp);
80 
82 
83 
84  // ###################################################################
86  // ###################################################################
88  public:
89  void checkState(const Instantiation& newState, Idx actionId);
90 
92 
94 
95  private:
97  double __sss;
98  };
99 } // namespace gum
100 #endif // GUM_E_GREEDY_DECIDER_H
Headers of the States Checker class.
Provides basic types used in aGrUM.
void initialize(const FMDP< double > *fmdp)
Initializes the learner.
Base class for discrete random variable.
A class to store the optimal actions.
Definition: actionSet.h:85
<agrum/FMDP/SDyna/IDecisionStrategy.h>
ActionSet stateOptimalPolicy(const Instantiation &curState)
StatesChecker __statecpt
gum is the global namespace for all aGrUM entities
Definition: agrum.h:25
void checkState(const Instantiation &newState, Idx actionId)
Headers of the Decision Strategy interface.
Headers of the MDDOperatorStrategy planer class.
Class for implementation of factored markov decision process.
E_GreedyDecider()
Constructor.
<agrum/FMDP/decision/E_GreedyDecider.h>
Headers of the Planning Strategy interface.
Class for assigning/browsing values to tuples of discrete variables.
Definition: instantiation.h:80
Size Idx
Type for indexes.
Definition: types.h:50
<agrum/FMDP/simulation/statesChecker.h>
Definition: statesChecker.h:46
~E_GreedyDecider()
Destructor.