![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSDispatch.h>
Public Types | |
| enum | ReservationState { NEW = 1 , RETRIEVED = 2 , ASSIGNED = 4 , ONBOARD = 8 , FULFILLED = 16 } |
Public Member Functions | |
| std::string | getID () const |
| debug identification More... | |
| bool | operator== (const Reservation &other) const |
| Reservation (const std::string &_id, const std::vector< MSTransportable * > &_persons, SUMOTime _reservationTime, SUMOTime _pickupTime, const MSEdge *_from, double _fromPos, const MSEdge *_to, double _toPos, const std::string &_group, const std::string &_line) | |
Data Fields | |
| const MSEdge * | from |
| double | fromPos |
| std::string | group |
| std::string | id |
| std::string | line |
| std::set< MSTransportable * > | persons |
| SUMOTime | pickupTime |
| SUMOTime | recheck |
| SUMOTime | reservationTime |
| ReservationState | state |
| const MSEdge * | to |
| double | toPos |
Definition at line 38 of file MSDispatch.h.
| Enumerator | |
|---|---|
| NEW | |
| RETRIEVED | |
| ASSIGNED | |
| ONBOARD | |
| FULFILLED | |
Definition at line 39 of file MSDispatch.h.
|
inline |
Definition at line 47 of file MSDispatch.h.
| std::string Reservation::getID | ( | ) | const |
debug identification
Definition at line 40 of file MSDispatch.cpp.
References persons, and toString().
|
inline |
Definition at line 82 of file MSDispatch.h.
References from, fromPos, group, line, persons, pickupTime, reservationTime, to, and toPos.
| const MSEdge* Reservation::from |
Definition at line 73 of file MSDispatch.h.
Referenced by MSDispatch::addReservation(), MSDispatch::computePickupTime(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), LIBSUMO_NAMESPACE::Person::filterReservation(), operator==(), MSDispatch::removeReservation(), and MSDispatch_TraCI::splitReservation().
| double Reservation::fromPos |
Definition at line 74 of file MSDispatch.h.
Referenced by MSDispatch::addReservation(), MSDispatch::computePickupTime(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), LIBSUMO_NAMESPACE::Person::filterReservation(), operator==(), MSDispatch::removeReservation(), and MSDispatch_TraCI::splitReservation().
| std::string Reservation::group |
Definition at line 77 of file MSDispatch.h.
Referenced by LIBSUMO_NAMESPACE::Person::filterReservation(), operator==(), MSDispatch::servedReservation(), and MSDispatch_TraCI::splitReservation().
| std::string Reservation::id |
Definition at line 69 of file MSDispatch.h.
Referenced by MSDispatch_TraCI::addReservation(), LIBSUMO_NAMESPACE::Person::filterReservation(), MSDispatch_TraCI::fulfilledReservation(), MSDispatch::removeReservation(), and MSDispatch_TraCI::splitReservation().
| std::string Reservation::line |
Definition at line 78 of file MSDispatch.h.
Referenced by MSDevice_Taxi::compatibleLine(), operator==(), and MSDispatch_TraCI::splitReservation().
| std::set<MSTransportable*> Reservation::persons |
Definition at line 70 of file MSDispatch.h.
Referenced by MSDispatch::addReservation(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), LIBSUMO_NAMESPACE::Person::filterReservation(), getID(), operator==(), MSDispatch::remainingCapacity(), MSDispatch::removeReservation(), and MSDispatch_TraCI::splitReservation().
| SUMOTime Reservation::pickupTime |
Definition at line 72 of file MSDispatch.h.
Referenced by MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), LIBSUMO_NAMESPACE::Person::filterReservation(), operator==(), and MSDispatch_TraCI::splitReservation().
| SUMOTime Reservation::recheck |
Definition at line 79 of file MSDispatch.h.
Referenced by MSDispatch_Greedy::computeDispatch().
| SUMOTime Reservation::reservationTime |
Definition at line 71 of file MSDispatch.h.
Referenced by LIBSUMO_NAMESPACE::Person::filterReservation(), MSDispatch::time_sorter::operator()(), operator==(), and MSDispatch_TraCI::splitReservation().
| ReservationState Reservation::state |
Definition at line 80 of file MSDispatch.h.
Referenced by LIBSUMO_NAMESPACE::Person::filterReservation(), and MSDispatch::servedReservation().
| const MSEdge* Reservation::to |
Definition at line 75 of file MSDispatch.h.
Referenced by MSDispatch::addReservation(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), LIBSUMO_NAMESPACE::Person::filterReservation(), operator==(), MSDispatch::removeReservation(), and MSDispatch_TraCI::splitReservation().
| double Reservation::toPos |
Definition at line 76 of file MSDispatch.h.
Referenced by MSDispatch::addReservation(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), LIBSUMO_NAMESPACE::Person::filterReservation(), operator==(), MSDispatch::removeReservation(), and MSDispatch_TraCI::splitReservation().