Java algorithm visualizer

JAZ is an algorithm visualization system in Java that can be installed from the CD in the book.

The following persons have contributed to the development of Jaz:
Giancarlo Bongiovanni, Pierluigi Crescenzi, Gaia Innocenti, Patrizia Pallai and Gabriella Rago.

Error in command line

On the CD the command starting JAZ is given (in jaz.html), but on the command line the character that looks like a dash is in fact not a dash, even though it should be. The correct command line is the following:

      java -cp JAZ.jar JazPMenuBar

New animations

Here you can find other animations than those on the CD.

First Fit Decreasing (Program 2.4)

Instructions for updating of the JAZ system:

In the following, %JAZROOT% denotes the path to the directory containing the JAZ system.

  1. Put FirstFitDec.class and FirstFitDec$Visualizer.class in the directory
    %JAZROOT%/Algorithms/Chapt.2/
  2. Put firstfitdec.pc in the directory
    %JAZROOT%/PseudoCodes/AusCreGamKanMarPro/Chapt.2/
  3. Put Array0205.txt in the directory
    %JAZROOT%/Examples/Chapt.2/
  4. Run JAZ.
  5. Execute algorithm FirstFitDec on input the array Array0205.txt. Save the snapshots in
    %JAZROOT%/Examples/Chapt.2/Array0205.sho
  6. Load Array02005.sho: you should see Example 2.5 in action.
To create new examples look at the structure of Array0205.txt.

Local Search Cut (Program 2.5 applied to Maximum Cut)

Instructions for updating of the JAZ system:

In the following, %JAZROOT% denotes the path to the directory containing the JAZ system.

  1. Put LocalSearchCut.class and LocalSearchCut$Visualizer.class in the directory
    %JAZROOT%/Algorithms/Chapt.2/
  2. Put localsearch.pc in the directory
    %JAZROOT%/PseudoCodes/AusCreGamKanMarPro/Chapt.2/
  3. Put GraphK5.txt in the directory
    %JAZROOT%/Examples/Chapt.2/
  4. Run JAZ.
  5. Execute algorithm LocalSearchCut on input the array GraphK5.txt. Save the snapshots in
    %JAZROOT%/Examples/Chapt.2/GraphK5LSC.sho
  6. Load GraphK5LSC.sho: you should see the Local Search Cut algorithm in action with input a clique of size 5.
To create new examples use item Graph of menu Input.
Up to the web site of the book.

Responsible for this page: Viggo Kann <viggo@nada.kth.se>
Latest change February 20, 2000
Technical support: <webmaster@nada.kth.se>