41 #ifdef CHECK_MEMORY_LEAKS
43 #endif // CHECK_MEMORY_LEAKS
49 using namespace traci;
58 std::string warning =
"";
81 std::vector<std::string> ids;
86 std::vector<std::string> ids;
116 unsigned int cnt = 0;
119 tempContent.
writeInt((
int) links.size());
121 for (MSLinkCont::const_iterator i = links.begin(); i != links.end(); ++i) {
129 #ifdef HAVE_INTERNAL_LANES
130 tempContent.
writeString(link->getViaLane() != 0 ? link->getViaLane()->getID() :
"");
180 for (
unsigned int iPoint = 0; iPoint < MIN2(static_cast<size_t>(255), lane->
getShape().
size()); ++iPoint) {
222 std::vector<std::string> vehIDs;
224 for (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
225 vehIDs.push_back((*j)->getID());
239 for (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
240 if ((*j)->getSpeed() < 0.1) {
252 for (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
253 lengthSum += (*j)->getVehicleType().getLength();
256 if (vehs.size() == 0) {
267 if (meanSpeed != 0) {
291 std::string warning =
"";