55 const double length,
const double speed,
57 const bool multiQueue,
A single mesoscopic segment (cell)
void updateBlockTime(Queue &q, const Queue &qNext, const MESegment *const next, const MEVehicle *veh) override
update blockTime of Queue q
void send(MEVehicle *veh, MESegment *const next, const int nextQIdx, SUMOTime time, const MSMoveReminder::Notification reason) override
Removes the vehicle from the segment, adapting its parameters.
MELSegment(const std::string &id)
constructor for dummy segment
void updateEntryBlockTime(SUMOTime time) override
update entry blockTime for all queues
bool hasSpaceForInsertion(const Queue &q, int qIdx, double newOccupancy, SUMOTime entryTime) const override
check jam-avoidance constraints during insertion
std::vector< GapTimes > myGapTimes
MELSegment(const MELSegment &)
Invalidated copy constructor.
MELSegment & operator=(const MELSegment &)
Invalidated assignment operator.
std::vector< SUMOTime > GapTimes
upstream arrival times of traveling gaps between cars (for each queue)
A single mesoscopic segment (cell)
A vehicle from the mesoscopic point of view.
A road/street connecting two junctions.
Notification
Definition of a vehicle state.
edge type specific meso parameters