An interactive program for observing the intermediate steps of algorithms.
algotutor [\s-1OPTION\s0] ... \s-1DATA\s0 ...
algotutor is an interactive program for observing the intermediate steps of algorithms. The target audience is computer science students and/or anyone who studies algorithms and/or data structures. One can create data files in plain text format (actually perl anonymous hashes, but one need not care) and let algotutor runs through some predefined algorithm. Then one can step backward and forward through the execution sequence of the algorithm at different levels of details. It requires perl-Tk.
\s-1DATA\s0 is the input data. For the dynamic programming algorithms such as lcs and matc, please see the respective entries in the following list; for other algorithms, it is the file name containing the actual input data.
Runs the algorithm \s-1ALGO\s0. Currently \s-1ALGO\s0 can be one of:
Use \s-1VERTEX\s0 as the starting vertex (for sbs, bfs, prim, and dijk)
Display step \s-1STEP\s0 as the initial image.
Dump the picture into \s-1FILENAME\s0 as a ps file and exit immediately without going into interactive mode.
This code is distributed under the \s-1GNU\s0 General Public License
Chao-Kuei Hung ckhung \s-1AT\s0 ofset \s-1DOT\s0 org
Please see /usr/share/doc/algotutor/doc/ for examples and the full set of documentations.