News for hackers. Stuff that matters.
Re:Sorting Algorithm Animations by megrimlock on Sunday December 12, 2010 @03:29PM (#1997924)
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.

There are no comments on this comment yet.