51 const MSEdge* from,
double fromPos,
52 const MSEdge* to,
double toPos,
53 const std::string& group,
A device which collects info on the vehicle trip (mainly on departure and arrival)
A dispatch algorithm that services customers in reservation order and always sends the closest availa...
MSDispatch_TraCI & operator=(const MSDispatch_TraCI &)=delete
Invalidated assignment operator.
StringBijection< Reservation * > myReservationLookup
std::string getReservationID(Reservation *res)
Reservation * addReservation(MSTransportable *person, SUMOTime reservationTime, SUMOTime pickupTime, const MSEdge *from, double fromPos, const MSEdge *to, double toPos, const std::string &group, int maxCapacity)
add a new reservation
void interpretDispatch(MSDevice_Taxi *taxi, const std::vector< std::string > &reservationsIDs)
trigger taxi dispatch.
virtual void computeDispatch(SUMOTime, const std::vector< MSDevice_Taxi * > &)
do nothing (dispatch happens via TraCI calls)
MSDispatch_TraCI(const std::map< std::string, std::string > ¶ms)
An algorithm that performs distpach for a taxi fleet.
A road/street connecting two junctions.