2 ms·
As I am currently trying to implement the A* pathfinding algorithm in C++ this is both timely & very cool. Most interesting is the selectable distance heuristi
by 5hoom 15y ago
As I am currently trying to implement the A* pathfinding algorithm in C++ this is both timely & very cool.
Most interesting is the selectable distance heuristic function (never thought about doing that in my own limited experience) which could mix things up a bit with a pathfinding game AI or similar.
Kudos for sharing this little gem :)
[edit]
implementing A* on my own for educational purposes, but here's a good reference implementation in C++ on google code:
http://code.google.com/p/a-star-algorithm-implementation/ http://code.google.com/p/a-star-algorithm-implementation/