46 #include <mesosim/MESegment.h>
47 #include <mesosim/MELoop.h>
51 #ifdef CHECK_MEMORY_LEAKS
53 #endif // CHECK_MEMORY_LEAKS
83 for (MESegment* s = MSGlobals::gMesoNet->getSegmentForEdge(*
MSEdge::dictionary(i)); s != 0; s = s->getNextSegment()) {
91 for (std::vector<MSLane*>::const_iterator it = lanes.begin(); it != lanes.end(); ++it) {
92 (*it)->saveState(out);
122 0, std::vector<SUMOVehicleParameter::Stop>());
131 std::vector<std::string> routeIDs;
134 for (std::vector<std::string>::const_iterator it = routeIDs.begin(); it != routeIDs.end(); ++it) {
139 dist->
add(prob, r,
false);
154 std::vector<std::string> typeIDs;
157 for (std::vector<std::string>::const_iterator it = typeIDs.begin(); it != typeIDs.end(); ++it) {
162 dist->
add(prob, t,
false);
183 throw ProcessError(
"Error: Could not build vehicle " + p->
id +
"!");
185 if (!v->hasDeparted()) {
193 if (mySegment == 0) {
195 }
else if (mySegment->getNextSegment() == 0) {
196 mySegment = MSGlobals::gMesoNet->getSegmentForEdge(*
MSEdge::dictionary(mySegment->getEdge().getNumericalID() + 1));
198 mySegment = mySegment->getNextSegment();
213 std::vector<std::string> vehIDs;