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.
Copyright 2005-2020 Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
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>
Sequence< Idx > FactoryActions__
Actions.
HashTable< Idx, std::string *> actionMap__
const DiscreteVariable * primeVar(const DiscreteVariable *mainVar)
Iteration over the variables of the simulated probleme.
The generic class for storing (ordered) sequences of objects.
Instantiation randomState_()
Choses a random state as the first test for a run.
FactorySimulationLandmarkX
~FactorySimulator()
Default destructor.
DiscreteVariable * fuelLevel__
Base class for discrete random variable.
DiscreteVariable * xPos__
Copyright 2005-2020 Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
FactorySimulationAction lastAction__
iterator_safe beginSafe() const
Returns a safe begin iterator.
Copyright 2005-2020 Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
FactorySimulationLandmarkY
Copyright 2005-2020 Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
A class to simulate the Factory problem.
Copyright 2005-2020 Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
Set of pairs of elements with fast search for both elements.
DiscreteVariable * yPos__
DiscreteVariable * passengerDest__
Sequence< const DiscreteVariable *> FactoryVars__
Variables data structures.
Bijection< const DiscreteVariable *, const DiscreteVariable *> primeMap__
Class for assigning/browsing values to tuples of discrete variables.
FactorySimulator()
Default constructor.
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__
double reward()
Choses a random state as the first test for a run.