The article doesn't explicitly state it in this manner in one concise place, but the way I would always think about A* from a "practical/easy-to-remember" perspective back when I was doing competitive programming is that they're all the same algorithm, but with different priorities on the priority queue: Breadth-first Search: Priority is order of discovery of edges (that is, no priority queue/just a regular queue) Di…
well they all just loop???
Introduction to the A* Algorithm (2014)
51–60 of 111 posts
Re: Introduction to the A* Algorithm (2014)
#52Re: Introduction to the A* Algorithm (2014)
#53I have a perhaps overly simplistic question, but how is this meant to be pronounced? A-star? Ah-sterisk?
Re: Introduction to the A* Algorithm (2014)
#54Re: Introduction to the A* Algorithm (2014)
#55A* is simple enough, but how do you handle pathfinding when the environment isn’t known to the entity?
Re: Introduction to the A* Algorithm (2014)
#56Re: Introduction to the A* Algorithm (2014)
#57The article doesn't explicitly state it in this manner in one concise place, but the way I would always think about A* from a "practical/easy-to-remember" perspective back when I was doing competitive programming is that they're all the same algorithm, but with different priorities on the priority queue: Breadth-first Search: Priority is order of discovery of edges (that is, no priority queue/just a regular queue) Di…
And depth first search is just a stack!
Re: Introduction to the A* Algorithm (2014)
#58Red Blob Games is a great blog if you are interested in game development. The explanations are solid, they have at least pseudo code or an implementation for most of their posts, and they have great animations on a lot of their bigger posts to help build intuition.
Re: Introduction to the A* Algorithm (2014)
#59Earlier quoted context omitted.
Please consider some folks might be new to A*, and perhaps even HN, so maybe this is the first time they’ve seen it! :) Also, I have ten books on perspective drawing, and my understanding isn’t complete without all ten of them Or, if I’m teaching a subject on A*, perhaps ONE of those articles conveys the materials best for my students. Thank you for providing links to the others though! I’m sure it will be helpful fo…
I wish there was a “evergreen” feature for social sites where it tracked resubmissions and would auto suggest them to people who haven’t seen them and periodically surface them to those who have and ask “is this still relevant” That way really good content keeps being recommended to those who need it and you get fewer complaints from old timers who don’t have to see it N times.
Re: Introduction to the A* Algorithm (2014)
#60A* is simple enough, but how do you handle pathfinding when the environment isn’t known to the entity?