by djood on 2/10/22, 3:42 PM with 30 comments
by sebg on 2/10/22, 4:08 PM
Introduction to the a* Algorithm - https://news.ycombinator.com/item?id=24146045 - August 2020 (1 comment)
Introduction to A* (2014) - https://news.ycombinator.com/item?id=18642462 - December 2018 (14 comments)
Introduction to A* - https://news.ycombinator.com/item?id=16190604 - January 2018 (0 comments)
Introduction to A* algorithm - https://news.ycombinator.com/item?id=10724098 - December 2015 (1 comment)
Introduction to A* - https://news.ycombinator.com/item?id=8059237 - July 2014 (28 comments)
Related threads:
Making of “Introduction to A*” - https://news.ycombinator.com/item?id=8445732 - October 2014 (12 comments)
by Animats on 2/10/22, 6:19 PM
So I ended up with a variant on Pledge's approach to wall-following. Head toward the goal until an obstacle is detected. Then, start wall-following, but simultaneously in both left and right directions. When one of the wall-follower tests can head towards the goal, do that, and kill off the other wall-follower. So you alternate between heading towards the goal in open space, cheaply, and wall following.
Searching both left and right simultaneously avoids taking the long way round some obstacles.
by tedivm on 2/10/22, 5:13 PM
by feoren on 2/10/22, 10:23 PM
by self-symmetric on 2/11/22, 3:20 AM
The code (and animations) are here: https://github.com/matthew-piziak/spacepath
It shows a spaceship finding time-optimal paths around asteroids, with nothing but A* doing the pathing.
by sapein on 2/10/22, 10:28 PM
by two_poles_here on 2/11/22, 4:59 AM
by DoryMinh on 2/10/22, 4:09 PM
by wingman-jr on 2/10/22, 9:39 PM