Hacker News new | past | comments | ask | show | jobs | submit login

What's the best way to instrument an algorithm for visualization? Snapshot its state at periodic, well-named points, and render illustrations?

I can imagine doing this with an A* search: snapshot the graph, including which nodes are open or already visited, along with the heap ranking of the next nodes to visit. You might also want to show all the newly neighboring nodes and annotate them with their updated cost estimate.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: