/* Kruskal.java */ import java.util.Hashtable; import graph.*; import set.*; /** * The Kruskal class contains the method minSpanTree(), which implements * Kruskal's algorithm for computing a minimum spanning tree of a graph. */ public class Kruskal { /** * minSpanTree() returns a WUGraph that represents the minimum spanning tree * of the WUGraph g. The original WUGraph g is not changed. */ public static WUGraph minSpanTree(WUGraph g); }