48 #ifdef CHECK_MEMORY_LEAKS
50 #endif // CHECK_MEMORY_LEAKS
56 #define DEFAULT_MAX_GAP "3.1"
57 #define DEFAULT_PASSING_TIME "1.9"
58 #define DEFAULT_DETECTOR_GAP "3.0"
65 const std::string&
id,
const std::string& programID,
68 const std::map<std::string, std::string>& parameter) :
84 LaneVectorVector::const_iterator i2;
85 LaneVector::const_iterator i;
89 for (i = lanes.begin(); i != lanes.end(); i++) {
95 SUMOReal ilpos = length - inductLoopPosition;
147 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
149 const std::vector<MSLane*>& lanes =
getLanesAt(i);
153 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
158 if (tmpdur > newduration) {
160 newduration = (
int) tmpdur;
190 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
192 const std::vector<MSLane*>& lanes =
getLanesAt(i);
196 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
201 myInductLoops.find(*j)->second->getTimestepsSinceLastDetection();