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());
120 for (MSLinkCont::const_iterator i = links.begin(); i != links.end(); ++i) {
128 #ifdef HAVE_INTERNAL_LANES
129 tempContent.
writeString(link->getViaLane() != 0 ? link->getViaLane()->getID() :
"");
179 for (
unsigned int iPoint = 0; iPoint < MIN2(static_cast<size_t>(255), lane->
getShape().size()); ++iPoint) {
221 std::vector<std::string> vehIDs;
223 for (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
224 vehIDs.push_back((*j)->getID());
238 for (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
239 if ((*j)->getSpeed() < 0.1) {
251 for (std::deque<MSVehicle*>::const_iterator j = vehs.begin(); j != vehs.end(); ++j) {
252 lengthSum += (*j)->getVehicleType().getLength();
255 if (vehs.size() == 0) {
266 if (meanSpeed != 0) {
290 std::string warning =
"";
321 std::vector<std::string> classes;
330 std::vector<std::string> classes;
361 for (std::vector<MSEdge*>::const_iterator i = edges.begin(); i != edges.end(); ++i) {
362 const std::vector<MSLane*>& lanes = (*i)->getLanes();
363 for (std::vector<MSLane*>::const_iterator j = lanes.begin(); j != lanes.end(); ++j) {
364 Boundary b = (*j)->getShape().getBoxBoundary();