43 #ifdef CHECK_MEMORY_LEAKS
45 #endif // CHECK_MEMORY_LEAKS
51 using namespace traci;
81 std::vector<std::string> ids;
86 std::vector<std::string> ids;
115 unsigned int cnt = 0;
118 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() :
"");
181 for (
unsigned int iPoint = 0; iPoint < MIN2(static_cast<size_t>(255), lane->
getShape().size()); ++iPoint) {
223 std::vector<std::string> vehIDs;
225 for (MSLane::VehCont::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
226 vehIDs.push_back((*j)->getID());
240 for (MSLane::VehCont::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
253 for (MSLane::VehCont::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
254 lengthSum += (*j)->getVehicleType().getLength();
257 if (vehs.size() == 0) {
268 if (meanSpeed != 0) {
292 std::string warning =
"";
323 std::vector<std::string> classes;
332 std::vector<std::string> classes;
363 for (std::vector<MSEdge*>::const_iterator i = edges.begin(); i != edges.end(); ++i) {
364 const std::vector<MSLane*>& lanes = (*i)->getLanes();
365 for (std::vector<MSLane*>::const_iterator j = lanes.begin(); j != lanes.end(); ++j) {
366 Boundary b = (*j)->getShape().getBoxBoundary();