51 return _fmdp_->main2prime(mainVar);
55 return _fmdp_->beginVariables();
59 return _fmdp_->endVariables();
63 return _fmdp_->actionName(actionId);
67 return _fmdp_->beginActions();
76 _fmdp_->transition(actionId, var))
Instantiation currentState_
Tha state in which the system currently is.
Base class for discrete random variable.
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.
SequenceIteratorSafe< Idx > endActions() override
Iteration over the variables of the simulated probleme.
Class for assigning/browsing values to tuples of discrete variables.
GUM_ELEMENT get(const Instantiation &i) const override
Returns the value pointed by i.
Safe iterators for Sequence.
Class for simulating a markov decision process.
Size Idx
Type for indexes.
gum is the global namespace for all aGrUM entities