Provided by: algotutor_0.8.6-2_all

**NAME**

algotutor - an interactive program for observing the intermediate steps of algorithms.

**SYNOPSIS**

algotutor[OPTION] ...DATA...

**DESCRIPTION**

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.DATAis 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.

**OPTIONS**

-aALGORuns the algorithm ALGO. Currently ALGO can be one of:bstoperations on binary search treesrbtoperations on red-black trees (remove()is not implemented yet)heapoperations on heaps -- the remove operation on a heap always removes the top element regardless of the argumentsbsstack-based search on graphs, a variant of depth first searchbfsbreadth first search on graphsprimPrim's minimal spanning tree on graphsdijkDijkstra's single-source shortest path on graphsflwaFloyd-Warshall's all-pair shortest path on graphs (very, very slow)dom2-dimensional point dominationgrahamGraham's scan for convex hulllcslongest common subsequence -- it requires two strings as the command line arguments. For example, "algotutor -a lcs AGCTATACGATGACT GTCAGTATAGTCATATG"matcoptimal matrix chain multiplication -- it requires an alternating sequence of integers and matrix names as the command line arguments. For example, "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.-sVERTEXUse VERTEX as the starting vertex (for sbs, bfs, prim, and dijk)-iSTEPDisplay step STEP as the initial image.-dFILENAMEDump the picture into FILENAME as a ps file and exit immediately without going into interactive mode.

**LICENSE**

This code is distributed under the GNU General Public License

**AUTHOR**

Chao-KueiHungckhung AT ofset DOT org

**SEE** **ALSO**

Please see /usr/share/doc/algotutor/doc/ for examples and the full set of documentations.