48#ifndef GUM_ABSTRACT_SIMULATOR_H
49#define GUM_ABSTRACT_SIMULATOR_H
virtual SequenceIteratorSafe< Idx > beginActions()=0
Iteration over the variables of the simulated probleme.
virtual SequenceIteratorSafe< Idx > endActions()=0
Iteration over the variables of the simulated probleme.
AbstractSimulator()
Default constructor.
virtual double reward()=0
Sets the intial statefrom which we begun the simulation.
INLINE void setEndState(const Instantiation &endState)
Sets the final states upon which a run is over.
virtual SequenceIteratorSafe< const DiscreteVariable * > endVariables()=0
Iteration over the variables of the simulated probleme.
INLINE const Instantiation & currentState()
Sets the intial statefrom which we begun the simulation.
virtual const DiscreteVariable * primeVar(const DiscreteVariable *mainVar)=0
Iteration over the variables of the simulated probleme.
virtual Instantiation randomState_()
Choses a random state as the first test for a run.
Instantiation currentState_
Tha state in which the system currently is.
virtual SequenceIteratorSafe< const DiscreteVariable * > beginVariables()=0
Iteration over the variables of the simulated probleme.
virtual void perform(Idx)=0
Sets the intial statefrom which we begun the simulation.
virtual ~AbstractSimulator()
Default destructor.
virtual bool hasReachEnd()
Tests if end state has been reached.
void setInitialStateRandomly()
Sets the intial statefrom which we begun the simulation.
INLINE void setInitialState(const Instantiation &initialState)
Sets the intial statefrom which we begun the simulation.
virtual const std::string & actionName(Idx)=0
Iteration over the variables of the simulated probleme.
Base class for discrete random variable.
Class for assigning/browsing values to tuples of discrete variables.
Safe iterators for Sequence.
Class for implementation of factored markov decision process.
Size Idx
Type for indexes.
gum is the global namespace for all aGrUM entities