The minimal spanning tree algorithm deals with linking the nodes of a network, directly
or indirectly, using the shortest total length of connecting branches. A typical application occurs in the construction of paved roads that link several rural towns. The road
between two towns may pass through one or more other towns. The most economical
design of the road system calls for minimizing the total miles of paved roads, a result
that is achieved by implementing the minimal spanning tree algorithm.