by asynchronous13 · 10y ago · 0 comments
You're taking an example of a sub-optimal local solution and claiming that is proof that the global solution is sub-optimal. That does not follow.
It could easily be, taking your example, that the platoon of 5 cars must stop at some future light, and the delay for 1 car is the smallest delay available for those cars. Therefore, stopping for the 1 car reduces the platoon's total travel time. As the driver, it's easy to think that was dumb because you'll never see the 15-car wait that was avoided by stopping early for 1 car.
Essentially, you are claiming that a greedy algorithm for traffic would always find the globally optimal solution (which we know is not true).
Me, I've been stuck at traffic lights for 5 minutes at 2 in the morning, with no traffic whatsoever around. A very local algorithm would be highly preferable at that time of night, assuming usual (i.e. very little) traffic at that hour. It's an extreme example, yes: but there does exist a range of traffic patterns between the small hours of the morning and rush hour, and the same amount of global optimization effort is not applied to all hours, for obvious reasons. Something that could analyse the traffic using cameras and sensors and optimize wouldn't have to be paid extra to work late at night.