29 #ifndef GUM_FACTORY_SIMULATOR_H 30 #define GUM_FACTORY_SIMULATOR_H 183 #endif // GUM_FACTORY_SIMULATOR_H void perform(Idx)
Choses a random state as the first test for a run.
Safe iterators for Sequence.
FactorySimulationLandmark
const std::string & actionName(Idx actionId)
Iteration over the variables of the simulated probleme.
FactorySimulationAction __lastAction
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
const iterator_safe & endSafe() const noexcept
Returns the safe end iterator.
SequenceIteratorSafe< Idx > endActions()
Iteration over the variables of the simulated probleme.
SequenceIteratorSafe< const DiscreteVariable *> beginVariables()
Iteration over the variables of the simulated probleme.
<agrum/FMDP/simulation/abstractSimulator.h>
DiscreteVariable * __fuelLevel
Instantiation _randomState()
Choses a random state as the first test for a run.
const DiscreteVariable * primeVar(const DiscreteVariable *mainVar)
Iteration over the variables of the simulated probleme.
The generic class for storing (ordered) sequences of objects.
FactorySimulationLandmarkX
~FactorySimulator()
Default destructor.
Sequence< Idx > __FactoryActions
Actions.
Base class for discrete random variable.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
iterator_safe beginSafe() const
Returns a safe begin iterator.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
FactorySimulationLandmarkY
DiscreteVariable * __yPos
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
A class to simulate the Factory problem.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Set of pairs of elements with fast search for both elements.
Class for assigning/browsing values to tuples of discrete variables.
Bijection< const DiscreteVariable *, const DiscreteVariable *> __primeMap
FactorySimulator()
Default constructor.
Sequence< const DiscreteVariable *> __FactoryVars
Variables data structures.
DiscreteVariable * __passengerDest
DiscreteVariable * __xPos
SequenceIteratorSafe< const DiscreteVariable *> endVariables()
Iteration over the variables of the simulated probleme.
Size Idx
Type for indexes.
SequenceIteratorSafe< Idx > beginActions()
Iteration over the variables of the simulated probleme.
bool hasReachEnd()
Choses a random state as the first test for a run.
DiscreteVariable * __passengerPos
HashTable< Idx, std::string *> __actionMap
double reward()
Choses a random state as the first test for a run.