48 #ifdef CHECK_MEMORY_LEAKS
50 #endif // CHECK_MEMORY_LEAKS
57 const std::string&
id,
const std::string& programID,
59 unsigned int step,
SUMOTime delay,
const std::map<std::string, std::string>& parameter)
63 if (parameter.find(
"max-gap") != parameter.end()) {
67 if (parameter.find(
"passing-time") != parameter.end()) {
71 if (parameter.find(
"detector-gap") != parameter.end()) {
82 LaneVectorVector::const_iterator i2;
83 LaneVector::const_iterator i;
87 for (i = lanes.begin(); i != lanes.end(); i++) {
93 SUMOReal ilpos = length - inductLoopPosition;
104 for (i = lanes.begin(); i != lanes.end(); i++) {
109 if (lslen > length) {
158 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
160 const std::vector<MSLane*>& lanes =
getLanesAt(i);
164 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
168 if (tmpdur > newduration) {
170 newduration = (
int) tmpdur;
200 for (
unsigned int i = 0; i < (
unsigned int) state.size(); i++) {
202 const std::vector<MSLane*>& lanes =
getLanesAt(i);
206 for (LaneVector::const_iterator j = lanes.begin(); j != lanes.end(); j++) {
211 myInductLoops.find(*j)->second->getTimestepsSinceLastDetection();