52 #ifdef CHECK_MEMORY_LEAKS
54 #endif // CHECK_MEMORY_LEAKS
62 const bool emptyDestinationsAllowed,
63 const bool ignoreErrors) :
67 myTryRepair(tryRepair),
68 myEmptyDestinationsAllowed(emptyDestinationsAllowed),
70 myCurrentVTypeDistribution(0),
71 myCurrentAlternatives(0) {
130 (*myActivePlan) << attrs;
134 (*myActivePlan) << attrs;
140 (*myActivePlan) << attrs;
172 while (st.hasNext()) {
230 WRITE_WARNING(
"No probability for a route in '" + rid +
"', using default.");
330 if (ok && index < 0) {
340 const std::string routeID = st.
next();
381 if (route->
getID()[0] !=
'!') {
441 (*myActivePlan) << attrs;
446 std::string errorSuffix;
459 if (!ok || stop.
lane ==
"") {
499 std::set<std::string> personIDs;
506 }
else if (idx ==
"fit") {
510 if (!ok || stop.
index < 0) {
525 const std::string& rid) {
527 std::istringstream in(desc, std::ios::binary);
533 const std::string
id = st.next();
537 +
"\n The route can not be build.");
539 into.push_back(edge);