algotutor - an interactive program for observing the intermediate steps of algorithms.
algotutor [OPTION] ... DATA ...
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.
DATA 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.
algotutor -a lcs AGCTATACGATGACT GTCAGTATAGTCATATG
algotutor -a matc 32 A 35 B 24 C 30 D 36 E 25 F 40 G 34 H 35
means finding the optimal multiplication sequence of the
chain of matrices: A of size 32 by 35, B of size 35 by 24, ...
H of size 34 by 35.
This code is distributed under the GNU General Public License
Chao-Kuei Hung ckhung AT cyut DOT edu DOT tw
Please see /usr/share/doc/algotutor/doc/ for examples and the full set of documentations.