The Community for Technology Leaders
Green Image
Issue No. 02 - March/April (2001 vol. 3)
ISSN: 1521-9615
pp: 60-64
In this computing prescription we present an algorithm for finding a minimum spanning tree. Figure 1 shows a typical application of this MST algorithm. Here we have 11 data points in a plane and would like to find some structure among them. Suppose we draw dotted lines between each pair of points (see Figure 1a). If we consider the points vertices and the dotted lines edges, we have a complete graph on 11 points. In Figure 1b, we choose just enough of the edges to keep the graph connected. This is a spanning tree of the graph. A graph can have many spanning trees. The one shown is an MST--that is, a spanning tree that minimizes the total length of edges.

F. Sullivan and I. Beichl, "In Order to Form a More Perfect UNION," in Computing in Science & Engineering, vol. 3, no. , pp. 60-64, 2001.
91 ms
(Ver 3.3 (11022016))