48 #ifdef CHECK_MEMORY_LEAKS
50 #endif // CHECK_MEMORY_LEAKS
57 const std::string&
id,
const std::string& programID,
64 if (parameter.find(
"max-gap") != parameter.end()) {
68 if (parameter.find(
"passing-time") != parameter.end()) {
72 if (parameter.find(
"detector-gap") != parameter.end()) {
83 LaneVectorVector::const_iterator i2;
84 LaneVector::const_iterator i;
88 for (i = lanes.begin(); i != lanes.end(); i++) {
94 SUMOReal ilpos = length - inductLoopPosition;
146 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
148 const std::vector<MSLane*>& lanes =
getLanesAt(i);
152 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
157 if (tmpdur > newduration) {
159 newduration = (
int) tmpdur;
189 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
191 const std::vector<MSLane*>& lanes =
getLanesAt(i);
195 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
200 myInductLoops.find(*j)->second->getTimestepsSinceLastDetection();