A device which collects info on the vehicle trip (mainly on departure and arrival)
A dispatch algorithm that services the reservations with the shortest traveltime-to-pickup first.
MSDispatch_GreedyClosest(const Parameterised::Map ¶ms)
void computeDispatch(SUMOTime now, const std::vector< MSDevice_Taxi * > &fleet)
computes dispatch and updates reservations
A dispatch algorithm that services customers in reservation order and always sends the closest availa...
const SUMOTime myRecheckTime
recheck interval for early reservations
virtual void computeDispatch(SUMOTime now, const std::vector< MSDevice_Taxi * > &fleet)
computes dispatch and updates reservations
const int myRoutingMode
which router/edge weights to use
MSDispatch_Greedy & operator=(const MSDispatch_Greedy &)=delete
Invalidated assignment operator.
virtual int dispatch(MSDevice_Taxi *taxi, std::vector< Reservation * >::iterator &resIt, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, std::vector< Reservation * > &reservations)
trigger taxi dispatch.
const SUMOTime myRecheckSafety
const SUMOTime myMaximumWaitingTime
maximum time to arrive earlier at customer
MSDispatch_Greedy(const Parameterised::Map ¶ms)
An algorithm that performs distpach for a taxi fleet.
std::map< std::string, std::string > Map
parameters map
virtual const std::string getParameter(const std::string &key, const std::string defaultValue="") const
Returns the value for a given key.
Some static methods for string processing.