43 #ifdef CHECK_MEMORY_LEAKS
45 #endif // CHECK_MEMORY_LEAKS
51 using namespace traci;
82 std::vector<std::string> ids;
87 std::vector<std::string> ids;
117 unsigned int cnt = 0;
120 tempContent.
writeInt((
int) links.size());
122 for (MSLinkCont::const_iterator i = links.begin(); i != links.end(); ++i) {
130 #ifdef HAVE_INTERNAL_LANES
131 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 (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
226 vehIDs.push_back((*j)->getID());
240 for (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
241 if ((*j)->getSpeed() < 0.1) {
253 for (std::deque<MSVehicle*>::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 =
"";
370 for (std::vector<MSEdge*>::const_iterator i = edges.begin(); i != edges.end(); ++i) {
371 const std::vector<MSLane*>& lanes = (*i)->getLanes();
372 for (std::vector<MSLane*>::const_iterator j = lanes.begin(); j != lanes.end(); ++j) {
373 Boundary b = (*j)->getShape().getBoxBoundary();