Better distance estimates and better graphs can push A* to work on larger problems. ALT gives better distance estimates: http://research.microsoft.com/pubs/64511/tr-2004-24.pdf (PDF link) (or these slides http://www.cs.princeton.edu/courses/archive/spr09/cos423/Lec... ). Transit nodes do too, I think. Contraction hierarchies and arc flags let you preprocess the graph to give better information to A*.
(I've not implemented any of these myself)
I'm sure you're right, but it seems like traffic would be easy enough to consider by simply increasing specific edges' costs.
As for the scale issue: most of these nodes and edges will never change, so it might be possible to calculate a Dijkstra map.
Re:PathFinding.js
by imaginenore on Thursday May 28, 2015 @05:20AM
(#9616901)
The point is, if you add traffic into consideration, you can't have almost anything precalculated.
A* runs faster if you have better path cost estimates. To get the shortest paths, you want an estimate that's as close to the true cost, but not greater than it. You can precalculate to generate good estimates. Traffic makes the costs higher than normal, so those precalculated estimates are still useable (if you raise the costs because of traffic, the estimates continue to be lower than the true cost), and still much better than what you get without precalculation.
Full USA map graph contains around 24 million nodes, 58 million edges. Your regular A* just doesn't cut it.