49#ifndef GUM_TAXI_SIMULATOR_H
50#define GUM_TAXI_SIMULATOR_H
Class for simulating a discrete time stochastic process.
AbstractSimulator()
Default constructor.
Set of pairs of elements with fast search for both elements.
Base class for discrete random variable.
The class for generic Hash Tables.
Class for assigning/browsing values to tuples of discrete variables.
Safe iterators for Sequence.
The generic class for storing (ordered) sequences of objects.
Sequence< Idx > _taxiActions_
Actions.
const std::string & actionName(Idx actionId)
Iteration over the variables of the simulated probleme.
bool _isAtDestination_(TaxiSimulationLandmark passDest, TaxiSimulationLandmarkX xCurPos, TaxiSimulationLandmarkY yCurPos)
LabelizedVariable * _yPos_
double reward()
Sets the intial statefrom which we begun the simulation.
Bijection< const DiscreteVariable *, const DiscreteVariable * > _primeMap_
void _performFillUp_()
Iteration over the variables of the simulated probleme.
void _performGoEast_()
Iteration over the variables of the simulated probleme.
SequenceIteratorSafe< const DiscreteVariable * > endVariables()
Iteration over the variables of the simulated probleme.
void _performGoWest_()
Iteration over the variables of the simulated probleme.
LabelizedVariable * _xPos_
TaxiSimulator()
Default constructor.
Sequence< const DiscreteVariable * > _taxiVars_
Variables data structures.
SequenceIteratorSafe< Idx > beginActions()
Iteration over the variables of the simulated probleme.
TaxiSimulationAction _lastAction_
LabelizedVariable * _passengerDest_
void _performGoSouth_()
Iteration over the variables of the simulated probleme.
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.
void _performGoNorth_()
Iteration over the variables of the simulated probleme.
LabelizedVariable * _passengerPos_
void _performPickUp_()
Iteration over the variables of the simulated probleme.
LabelizedVariable * _fuelLevel_
HashTable< Idx, std::string * > _actionMap_
bool hasReachEnd()
Choses a random state as the first test for a run.
SequenceIteratorSafe< Idx > endActions()
Iteration over the variables of the simulated probleme.
SequenceIteratorSafe< const DiscreteVariable * > beginVariables()
Iteration over the variables of the simulated probleme.
~TaxiSimulator()
Default destructor.
void _performPutDown_()
Iteration over the variables of the simulated probleme.
bool _isAtMeetPoint_(TaxiSimulationLandmark passpos, TaxiSimulationLandmarkX xCurPos, TaxiSimulationLandmarkY yCurPos)
void perform(Idx)
Iteration over the variables of the simulated probleme.
Size Idx
Type for indexes.
Base class for labelized discrete random variables.
gum is the global namespace for all aGrUM entities