How to Use the MST Applet

Notations

How to Run the  Applet

The Applet consists of 6 steps , which can be run either in demo or custom mode. In each mode you can choose to run any of the 3 algorithms: Kruskal, Prim or Cheriton-Tarjan. The applet can be started at step 1 in each execution, and you can go back and forward between the steps if the step(e.g. buttons, menues) are activated. Below is a list of functions:

Step1 :

Step2:

If custom mode is chosen, construct your own graph using these buttons:

Step3:

choose the minimum spanning tree algorithm to run.

Step4:

Step5:

Algorithm can be run using any of these buttons:

Step6:

After the execution of algorithm is finished use these: