47 #ifdef CHECK_MEMORY_LEAKS
49 #endif // CHECK_MEMORY_LEAKS
56 const std::string&
id,
const std::string& programID,
58 unsigned int step,
SUMOTime delay,
const std::map<std::string, std::string> ¶meter)
62 if (parameter.find(
"max-gap") != parameter.end()) {
66 if (parameter.find(
"passing-time") != parameter.end()) {
70 if (parameter.find(
"detector-gap") != parameter.end()) {
81 LaneVectorVector::const_iterator i2;
82 LaneVector::const_iterator i;
86 for (i = lanes.begin(); i != lanes.end(); i++) {
92 SUMOReal ilpos = length - inductLoopPosition;
103 for (i = lanes.begin(); i != lanes.end(); i++) {
108 if (lslen > length) {
157 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
159 const std::vector<MSLane*> &lanes =
getLanesAt(i);
163 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
167 if (tmpdur > newduration) {
169 newduration = (
int) tmpdur;
199 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
201 const std::vector<MSLane*> &lanes =
getLanesAt(i);
205 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
210 myInductLoops.find(*j)->second->getTimestepsSinceLastDetection();