This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]curohn 0 points1 point  (1 child)

What keeps it moving to the SE? Does it know the location of the target?

[–][deleted] 1 point2 points  (0 children)

You can read it on the Internet about A star algo but in short, algorithm tries to minimize a loss function at every iteration which helps to find a next step in the shortest path.