This is a follow-up of another recent article, Reluctant Sorting Algorithms. Hereby I present visualization of neglection and desertion sorting algorithms, written as Java applets. Unfortunately the demonstration doesn't look as nice as Erlang source code. I'd even say, the demonstration shows that these algorithms suck! So better admire the beauty of their source code in Erlang.
Demo
Click on an applet to start (you may need to click twice in IE).
Neglection sort
Desertion sort
Source code
This program is free software; you can redistribute it and/or modify it under the MIT/X11 License.
If you're going to make these applets run in the local environment, you'll also need SortAlgorithm and SortItem classes, both grabbed from Sorting Algorithms Demo by James Gosling, Jason Harrison, Jim Boritz et al.

No comments:
Post a Comment