49#ifndef GUM_FMDP_SIMULATOR_H
50#define GUM_FMDP_SIMULATOR_H
Class for simulating a discrete time stochastic process.
AbstractSimulator()
Default constructor.
Base class for discrete random variable.
FMDPSimulator(const FMDP< double > *fmdp)
Default constructor.
const std::string & actionName(Idx actionId) override
Iteration over the variables of the simulated probleme.
FMDP< double > * _fmdp_
The Factored Markov Decision Process that describes how the system evolves.
SequenceIteratorSafe< const DiscreteVariable * > endVariables() override
Iteration over the variables of the simulated probleme.
SequenceIteratorSafe< Idx > beginActions() override
Iteration over the variables of the simulated probleme.
virtual double transitionProbability_(const DiscreteVariable *var, const Instantiation &transit, Idx actionId)
double reward() override
Sets the intial statefrom which we begun the simulation.
SequenceIteratorSafe< const DiscreteVariable * > beginVariables() override
Iteration over the variables of the simulated probleme.
const DiscreteVariable * primeVar(const DiscreteVariable *mainVar) override
Iteration over the variables of the simulated probleme.
void perform(Idx) override
Sets the intial statefrom which we begun the simulation.
SequenceIteratorSafe< Idx > endActions() override
Iteration over the variables of the simulated probleme.
const bool _loaded_
Just to know if it should be deleted in the end.
~FMDPSimulator() override
Default destructor.
Class for assigning/browsing values to tuples of discrete variables.
Safe iterators for Sequence.
Size Idx
Type for indexes.
gum is the global namespace for all aGrUM entities