Newsgroups: duke.cs.cps100 Subject: animations Distribution: duke --text follows this line-- The animations I showed in class are available for you to run. They are on acpub in ~rodger/bin To run them you need to be on a sparc 5 (or X windows) and type: cd ~rodger/bin/anims startup // do this once each time you login Type ls to see the list of animations. Data files end in ".in". You can either run the animation with a datafile, for example, bintree < bintree.in Or you can type in your own data. In this case, type: bintree to run, and you'll need to place the xtango window so you can see both it and the unix command window. The right most column (looks like a scroll bar) is a speed control bar, set on the highest speed (too fast), move it down to halfway or all the way down. Then click on "run animation" to see the animation. You can "pause" the animation. Unfortunately, there is no "restart", you have to quit and rerun the animation. Click on "quit" to end the animation. NOTE: The partition for the quicksort is a different animation than the one discussed in class. You should know the idea of the one discussed in class. The animation is still useful to see the recursion. NOTE 2: The queens animation doesn't have a date file, just type "queens" to run it. I don't have an animation for insertionsort. However, you can see it in shellsort (though note it swaps elements and shifting them down would be more efficient.) Susan Rodge