45 #include <mesosim/MESegment.h>
46 #include <mesosim/MELoop.h>
50 #ifdef CHECK_MEMORY_LEAKS
52 #endif // CHECK_MEMORY_LEAKS
82 for (MESegment* s = MSGlobals::gMesoNet->getSegmentForEdge(*
MSEdge::dictionary(i)); s != 0; s = s->getNextSegment()) {
90 for (std::vector<MSLane*>::const_iterator it = lanes.begin(); it != lanes.end(); ++it) {
91 (*it)->saveState(out);
121 0, std::vector<SUMOVehicleParameter::Stop>());
130 std::vector<std::string> routeIDs;
133 for (std::vector<std::string>::const_iterator it = routeIDs.begin(); it != routeIDs.end(); ++it) {
138 dist->
add(prob, r,
false);
153 std::vector<std::string> typeIDs;
156 for (std::vector<std::string>::const_iterator it = typeIDs.begin(); it != typeIDs.end(); ++it) {
161 dist->
add(prob, t,
false);
182 throw ProcessError(
"Error: Could not build vehicle " + p->
id +
"!");
184 if (!v->hasDeparted()) {
192 if (mySegment == 0) {
194 }
else if (mySegment->getNextSegment() == 0) {
195 mySegment = MSGlobals::gMesoNet->getSegmentForEdge(*
MSEdge::dictionary(mySegment->getEdge().getNumericalID() + 1));
197 mySegment = mySegment->getNextSegment();
212 std::vector<std::string> vehIDs;