28 #ifndef GUM_ABSTRACT_SIMULATOR_H 29 #define GUM_ABSTRACT_SIMULATOR_H 31 #include <agrum/tools/multidim/instantiation.h> 33 #include <agrum/FMDP/fmdp.h> 90 virtual double reward() = 0;
virtual double reward()=0
Sets the intial statefrom which we begun the simulation.
virtual Instantiation randomState_()
Choses a random state as the first test for a run.
virtual SequenceIteratorSafe< Idx > endActions()=0
Iteration over the variables of the simulated probleme.
INLINE void emplace(Args &&... args)
virtual void perform(Idx)=0
Sets the intial statefrom which we begun the simulation.
Instantiation currentState_
Tha state in which the system currently is.
virtual ~AbstractSimulator()
Default destructor.
virtual const DiscreteVariable * primeVar(const DiscreteVariable *mainVar)=0
Iteration over the variables of the simulated probleme.
virtual SequenceIteratorSafe< const DiscreteVariable *> beginVariables()=0
Iteration over the variables of the simulated probleme.
virtual SequenceIteratorSafe< const DiscreteVariable *> endVariables()=0
Iteration over the variables of the simulated probleme.
virtual const std::string & actionName(Idx)=0
Iteration over the variables of the simulated probleme.
virtual SequenceIteratorSafe< Idx > beginActions()=0
Iteration over the variables of the simulated probleme.
AbstractSimulator()
Default constructor.