29 #ifndef GUM_TAXI_SIMULATOR_H 30 #define GUM_TAXI_SIMULATOR_H 202 #endif // GUM_TAXI_SIMULATOR_H void perform(Idx)
Iteration over the variables of the simulated probleme.
Safe iterators for Sequence.
void __performFillUp()
Iteration over the variables of the simulated probleme.
void __performGoEast()
Iteration over the variables of the simulated probleme.
void __performGoNorth()
Iteration over the variables of the simulated probleme.
const iterator_safe & endSafe() const noexcept
Returns the safe end iterator.
<agrum/FMDP/simulation/abstractSimulator.h>
SequenceIteratorSafe< const DiscreteVariable *> beginVariables()
Iteration over the variables of the simulated probleme.
LabelizedVariable * __passengerDest
const DiscreteVariable * primeVar(const DiscreteVariable *mainVar)
Iteration over the variables of the simulated probleme.
LabelizedVariable * __xPos
The generic class for storing (ordered) sequences of objects.
SequenceIteratorSafe< const DiscreteVariable *> endVariables()
Iteration over the variables of the simulated probleme.
LabelizedVariable * __yPos
void __performGoWest()
Iteration over the variables of the simulated probleme.
Base class for discrete random variable.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
SequenceIteratorSafe< Idx > beginActions()
Iteration over the variables of the simulated probleme.
iterator_safe beginSafe() const
Returns a safe begin iterator.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
bool hasReachEnd()
Choses a random state as the first test for a run.
Bijection< const DiscreteVariable *, const DiscreteVariable *> __primeMap
LabelizedVariable * __fuelLevel
double reward()
Sets the intial statefrom which we begun the simulation.
bool __isAtMeetPoint(TaxiSimulationLandmark passpos, TaxiSimulationLandmarkX xCurPos, TaxiSimulationLandmarkY yCurPos)
HashTable< Idx, std::string *> __actionMap
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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.
void __performGoSouth()
Iteration over the variables of the simulated probleme.
A class to simulate the Taxi problem.
Sequence< const DiscreteVariable *> __taxiVars
Variables data structures.
~TaxiSimulator()
Default destructor.
const std::string & actionName(Idx actionId)
Iteration over the variables of the simulated probleme.
Class for assigning/browsing values to tuples of discrete variables.
LabelizedVariable * __passengerPos
Instantiation _randomState()
Choses a random state as the first test for a run.
void __performPutDown()
Iteration over the variables of the simulated probleme.
Size Idx
Type for indexes.
void __performPickUp()
Iteration over the variables of the simulated probleme.
SequenceIteratorSafe< Idx > endActions()
Iteration over the variables of the simulated probleme.
Sequence< Idx > __taxiActions
Actions.
TaxiSimulator()
Default constructor.
bool __isAtDestination(TaxiSimulationLandmark passDest, TaxiSimulationLandmarkX xCurPos, TaxiSimulationLandmarkY yCurPos)
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
TaxiSimulationAction __lastAction