Tuesday, March 27, 2012

A heuristic algorithm for safer driving

The scariest moments in driving have been during overtaking. Normally, it is when someone is overtaking from the opposite direction but it also happens when someone is overtaking me and finds oncoming traffic. Unfortunately, at times, I am also guilty of it. After each such occasion, I make every effort to update my rule set of when not to overtake.

Anyway, my algorithm is that I must drive in a manner and speed by which the total number of overtakes is minimized - that is whether I am overtaking or someone else is overtaking me.

The next rule I found is that if I stick to official speed limit, almost every car and many trucks will be overtaking me. This is clearly dangerous.

Traffic seems to be clustered around certain speeds. The best option for me is to drive in the tail of the high speed cluster. This seems to minimize the number of additional vehicles I need to overtake and seems to minimize the number of vehicles trying to overtake me especially since the vehicles behind me do not lose patience, which they would do if they perceive that I am traveling far too slowly for their taste.

No comments:

Post a Comment