41 #include <mesosim/MELoop.h>
42 #include <mesosim/MESegment.h>
45 #ifdef CHECK_MEMORY_LEAKS
47 #endif // CHECK_MEMORY_LEAKS
65 const std::vector<MSEdge*>& edges = ec.
getEdges();
66 for (std::vector<MSEdge*>::const_iterator e = edges.begin(); e != edges.end(); ++e) {
68 const std::vector<MSLane*>& lanes = edge.
getLanes();
69 for (std::vector<MSLane*>::const_iterator lane = lanes.begin(); lane != lanes.end(); ++lane) {
85 const SUMOReal threshold_velocity = 5 / 3.6;
88 for (MSLane::VehCont::const_iterator it_veh = lane.
myVehicles.begin(); it_veh != lane.
myVehicles.end(); ++it_veh) {
97 queueing_length =
MAX2(veh_back_to_lane_end, queueing_length);
103 queueing_length2 =
MAX2(veh_back_to_lane_end, queueing_length2);
109 if (queueing_length > 1 || queueing_length2 > 1) {