46 #ifdef CHECK_MEMORY_LEAKS
48 #endif // CHECK_MEMORY_LEAKS
66 :
Named(id), myFromNode(from), myToNode(to), myIndex(index), myPriority(priority),
67 mySpeed(-1), myLength(-1),
68 myUsingTTTimeLine(false),
69 myUsingETimeLine(false),
70 myCombinedPermissions(0) {
71 while (
myEdges.size() <= index) {
79 for (std::vector<ROLane*>::iterator i =
myLanes.begin(); i !=
myLanes.end(); ++i) {
103 #ifdef HAVE_INTERNAL // catchall for internal stuff
104 s->myApproachingEdges.push_back(
this);
161 WRITE_WARNING(
"No interval matches passed time " +
toString(time) +
" in edge '" +
myID +
"'.\n Using edge's length / edge's speed.");
271 WRITE_WARNING(
"No interval matches passed time " +
toString(time) +
" in edge '" +
myID +
"'.\n Using edge's length / edge's speed.");
300 #ifdef HAVE_INTERNAL // catchall for internal stuff
302 ROEdge::getNumApproaching()
const {
306 return (
unsigned int) myApproachingEdges.size();
321 if (measure ==
"CO") {
324 if (measure ==
"CO2") {
327 if (measure ==
"HC") {
330 if (measure ==
"PMx") {
333 if (measure ==
"NOx") {
336 if (measure ==
"fuel") {
351 if (!(*i)->prohibits(vehicle)) {