payasr | 2 years ago | on: A* tricks for videogame path finding
payasr's comments
payasr | 6 years ago | on: Ask HN: How to rediscover the joy of programming?
payasr | 6 years ago | on: Google Maps Hacks
payasr | 6 years ago | on: New pathfinding algorithm
payasr | 6 years ago | on: New pathfinding algorithm
payasr | 6 years ago | on: New pathfinding algorithm
payasr | 6 years ago | on: New pathfinding algorithm
payasr | 6 years ago | on: New pathfinding algorithm
payasr | 6 years ago | on: New pathfinding algorithm
Highway Dimension- Say we are given a bidirectional graph G and a radius r. Now take a vertex v, and find the set of all shortest paths from v of length > r and <= 4r. Let us call this set P(v, r). Iterate for all vertices in the graph and real radii, and obtain similar sets. Then, highway dimension is the size of the smallest set (H) of vertices such that all sets collected in the previous step have at least one vertex in H.
Why is this useful- Empirically, we know that road networks have small highway dimensions. This is interesting because it implies that there are only a handful of vertices from which you can take the shortest paths to all the vertices in the network. Intuitively, it makes sense too. If you want to travel long distances, it's best to take the highway as early as possible, and travel along it for as long as you can, then descend to the local roads as you reach closer to the destination.
Highway dimension basically gives us a theoretical way of capturing the inherent 'hierarchy' of the road network edges and explains why Contraction Hierarchies works so well on road networks (as opposed to random graphs, where CH can be easily beaten). HTH!
payasr | 6 years ago | on: New pathfinding algorithm
payasr | 6 years ago | on: New pathfinding algorithm
payasr | 6 years ago | on: New pathfinding algorithm
Botea, Adi, Martin Müller, and Jonathan Schaeffer. 2004. “Near Optimal Hierarchical Path-Finding.” In Journal of Game Development. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.112.....
Rahmani, Vahid, and Nuria Pelechano. 2017. “Improvements to Hierarchical Pathfinding for Navigation Meshes.” In Proceedings of the Tenth International Conference on Motion in Games, 8:1–8:6. MIG ’17. New York, NY, USA: ACM.
Toll, Wouter van, Roy Triesscheijn, Marcelo Kallmann, Ramon Oliva, Nuria Pelechano, Julien Pettré, and Roland Geraerts. 2016. “A Comparative Study of Navigation Meshes.” In Proceedings of the 9th International Conference on Motion in Games, 91–100. ACM.
And route planning in graphs (with static edge weights) has been studied to death.
payasr | 8 years ago | on: You probably don't need AI/ML. You can make do with well written SQL scripts
payasr | 8 years ago | on: You probably don't need AI/ML. You can make do with well written SQL scripts
There are also Prof. Hannah Bast's lectures (https://ad-wiki.informatik.uni-freiburg.de/teaching/Efficien...) and her talk at ICAPS (https://www.youtube.com/watch?v=B3wKfJAVRkg), both excellent :)