aGrUM  0.16.0
randomDecider.h
Go to the documentation of this file.
1 
31 // =========================================================================
32 #ifndef GUM_RANDOM_DECIDER_H
33 #define GUM_RANDOM_DECIDER_H
34 // =========================================================================
36 // =========================================================================
37 
38 namespace gum {
39 
50  // ###################################################################
52  // ###################################################################
54  public:
55  // ==========================================================================
57  // ==========================================================================
59 
60  // ==========================================================================
62  // ==========================================================================
64 
66 
67 
68  // ###################################################################
70  // ###################################################################
72  public:
73  void checkState(const Instantiation& newState, Idx actionId) {}
74 
76  return _allActions;
77  }
78  };
79 } // namespace gum
80 #endif // GUM_RANDOM_DECIDER_H
RandomDecider()
Constructor.
Definition: randomDecider.h:58
A class to store the optimal actions.
Definition: actionSet.h:88
<agrum/FMDP/SDyna/IDecisionStrategy.h>
~RandomDecider()
Destructor.
Definition: randomDecider.h:63
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Class to make decision randomlyDoes nothing more than the interface for DecisionStrategy does...
Definition: randomDecider.h:49
void checkState(const Instantiation &newState, Idx actionId)
Definition: randomDecider.h:73
ActionSet stateOptimalPolicy(const Instantiation &curState)
Definition: randomDecider.h:75
Class for assigning/browsing values to tuples of discrete variables.
Definition: instantiation.h:83
Size Idx
Type for indexes.
Definition: types.h:53