Re:Pathfinding Demystified
by ichinaski on Friday May 16, 2014 @04:07AM
(#7754333)
> # If we just got to the goal node, build and return the path.
If you want to ensure the path is optimal, you'll have to wait until you 'expand' the goal node, as there might exist goal states in the open set with lower costs.
[ Parent
| on HN ]