How to Use the MST Applet


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 :


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


choose the minimum spanning tree algorithm to run.



Algorithm can be run using any of these buttons:


After the execution of algorithm is finished use these: