r/programming • u/hazadess • Apr 23 '13
PathFinding algorithm, visually explained
http://qiao.github.io/PathFinding.js/visual/
2.2k
Upvotes
r/programming • u/hazadess • Apr 23 '13
View all comments
Show parent comment
17
u/willvarfar Apr 23 '13 edited Apr 23 '13
Google is your friend ;)
Its heuristics for dealing with the unexplored.
Now in SC5 the world itself has no unexplored unknowns. So this suggests to me that they are using D* to simulate a sim's limited world-view.
And this could, in hindsight, perhaps make sims appear to take the shortest route rather than the fastest route (because the individual sim is uninformed of what lies ahead).
They ought to go to A* and pretend that the sims listen to the travel news on the radio ;)