The other day I was driving some from work and decided as a lark to see what directions Google Maps would give me. (It actually varied a bit from the various ways I’ve used over the years, but that’s not relevant here.) What I found odd was that it told me to take the state road I was on about 7 miles past where I usually get off, and take an interstate road from that point. Now I happen to know that that interstate road is heavily traveled and would take longer and did not intend to take it, and was going to get off earlier and take the county road that I ordinarily use. And lo and behold, as I got closer to my exit, the app announced that I could save 4 minutes by taking the earlier exit that I had known to be faster anyway. Question is why this happened.
It’s theoretically possible that there was a accident or sudden build up of traffic on the state or interstate road, but I doubt it (usually it tells you that). My theory is that the algorithm for an app of this sort is programmed to look only at major roads when calculating long distance trips, but switches to looking more closely at more minor roads when the distance gets closer. And the reasoning is simply a matter of complexity.
Imagine you asked for directions from NY to California. If the app tried to calculate every possible permutation of roads that went from NY to CA, every possible variation and shortcut over the course of that trip, it would be overwhelmed. It’s a lot simpler to simply favor at the outset major roads which cover hundreds of miles and not even consider the myriad alternatives. But as you get closer, the number of permutations gets much smaller, and it’s more feasible to consider them all.
Something of this sort may be at work here. The idea being that as I was further away, with any number of exits that I could have turned off on, the app simply disregarded all this in favor of a state road. Once I was closer, and had already passed up most of the possible alternative routes, then the calculation became simpler and the algorithm considered the earlier exit with the county road route.
I’m not certain this is correct (though I suppose I could test it by trying the same thing again and seeing if it consistently happens). But if it is, I can think of a couple of possible practical ramifications.
[ol]
[li]Suppose you don’t keep the app live but instead print it out before you leave. You would never have the opportunity for the app to reconsider.[/li][li]Suppose there are 2 routes, Route A and Route B. Using only major roads, Route A is shorter, but Route B has shortcuts which make it shorter. At the outset the app will direct you to take Route A, and you will never even get the opportunity to avail yourself of the app reconsidering the Route B shortcuts.[/li][/ol]