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.
SequenceIteratorSafe< Idx > beginActions() const
Returns an iterator reference to he beginning of the list of actions.
const DiscreteVariable * main2prime(const DiscreteVariable *mainVar) const
Returns the primed variable associate to the given main variable.
SequenceIteratorSafe< const DiscreteVariable * > beginVariables() const
Returns an iterator reference to he beginning of the list of variables.
SequenceIteratorSafe< Idx > endActions() const
Returns an iterator reference to the end of the list of actions.
SequenceIteratorSafe< const DiscreteVariable * > endVariables() const
Returns an iterator reference to the end of the list of variables.
const MultiDimImplementation< GUM_ELEMENT > * transition(Idx actionId, const DiscreteVariable *v) const
Returns transition associated to given in parameter variable and the given action.
const std::string & actionName(Idx actionId) const
Returns name of action given in parameter.
const MultiDimImplementation< GUM_ELEMENT > * reward(Idx actionId=0) const
Returns the reward table of mdp.
Class for assigning/browsing values to tuples of discrete variables.
virtual GUM_ELEMENT get(const Instantiation &i) const
Returns the value pointed by i.
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