44 #include <mesosim/MELoop.h>
45 #include <mesosim/MESegment.h>
48 #ifdef CHECK_MEMORY_LEAKS
50 #endif // CHECK_MEMORY_LEAKS
68 const std::vector<MSEdge*>& edges = ec.
getEdges();
69 for (std::vector<MSEdge*>::const_iterator e = edges.begin(); e != edges.end(); ++e) {
71 const std::vector<MSLane*>& lanes = edge.
getLanes();
72 for (std::vector<MSLane*>::const_iterator lane = lanes.begin(); lane != lanes.end(); ++lane) {
88 const SUMOReal threshold_velocity = 5 / 3.6;
91 for (MSLane::VehCont::const_iterator it_veh = lane.
myVehicles.begin(); it_veh != lane.
myVehicles.end(); ++it_veh) {
100 queueing_length =
MAX2(veh_back_to_lane_end, queueing_length);
106 queueing_length2 =
MAX2(veh_back_to_lane_end, queueing_length2);
112 if (queueing_length > 1 || queueing_length2 > 1) {