Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Use Sollin's algorithm to produce a minimum spanning tree for the weighted graph shown in

\({\bf{a}})\)Figure \(1\).

\(b)\)Figure \(3\).

Short Answer

Expert verified

a. Minimum spanning tree contains edges

(San Francisco, Denver)

(San Francisco, Chicago)

(Chicago, Atlanta)

(New York, Atlanta)

b. Minimum spanning tree contains edges

\((a,b),(a,e),(b,c),(b,f),(c,d),(c,g),(f,j),(g,h),(g,k),(i,j),(k,I)\).

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Definition

Sollin's algorithm:

Let all vertices be ordered (which also produces a lexicographic ordering of the edges).Simultaneously choose the edge of least weight incident to every vertex (In case of ties, use the first edge in the ordering).Simultaneously choose an edge from a vertex in each tree (result of previous step) to a vertex in a different tree with minimum weight (In case of ties, use the first edge in the ordering).Repeat until \(n{\bf{ - 1}}\) edges were chosen.

02

Ordering the vertices

First,one needs to order all vertices:

\(\begin{array}{*{20}{r}}{{\bf{ Rank }}}&{{\bf{ Vertex }}}\\{\bf{1}}&{{\bf{ San Francisco }}}\\{\bf{2}}&{{\bf{ Chicago }}}\\{\bf{3}}&{{\bf{ New York }}}\\{\bf{4}}&{{\bf{ Denver }}}\\{\bf{5}}&{{\bf{ Atlanta }}}\end{array}\)

Next, one chooses the edge incident to each vertex with the smallest weight (or the edge first in lexicographic order in case of a tie).

03

Obtaining the graph

\(\begin{array}{*{20}{r}}{{\bf{ Vertex }}}&{{\bf{ Edge }}}\\{{\bf{ Francisco }}}&{{\bf{ (San Francisco,Denver) }}}\\{{\bf{ Chicago }}}&{{\bf{ (Chicago, Atlanta) }}}\\{{\bf{ New York }}}&{{\bf{ (New York, Atlanta) }}}\\{{\bf{ Denver }}}&{{\bf{ (San Francisco,Denver) }}}\\{{\bf{ Atlanta }}}&{{\bf{ (Chicago, Atlanta) }}}\end{array}\)

We add these \(3\) edges to the empty graph.

04

Step 4:Minimum spanning tree

Next,one needs to determine the edge connecting San Francisco or Denver to one of the other three cities with the smallest weight. The cheapest such connection is from San Francisco to Chicago, thus we add that edge to the graph.

Since we only have \({\bf{1}}\) tree in the image below, this tree is then the minimum spanning tree.

05

Edge incident

One uses the alphabetical ordering for the vertices.

Next one chooses the edge incident to each vertex with the smallest weight (or the edge first in lexicographic order in case of a tie).

\(\begin{array}{*{20}{r}}{{\bf{ Vertex }}}&{{\bf{ Edge }}}\\{\bf{a}}&{{\bf{(a,b)}}}\\{\bf{b}}&{{\bf{(b,f)}}}\\{\bf{c}}&{{\bf{(c,d)}}}\\{\bf{d}}&{{\bf{(c,d)}}}\\{\bf{e}}&{{\bf{(a,e)}}}\\{\bf{f}}&{{\bf{(b,f)}}}\\{\bf{g}}&{{\bf{(c,g)}}}\\{\bf{h}}&{{\bf{(h,g)}}}\\{\bf{i}}&{{\bf{(i,j)}}}\\{\bf{j}}&{{\bf{(f,j)}}}\\{\bf{k}}&{{\bf{(k,l)}}}\\{\bf{l}}&{{\bf{(k,l)}}}\end{array}\)

One adds these \(9\) edges to the empty graph.

06

Minimal spanning tree

One then need to connect the tree with vertices \(a,b,e,f,i\) and \(j\) to one of the other two trees. The weights of edges connecting the trees are always \(3\). Thus we need to choose the two edges that come first in the lexicographic order (note:the two edges cannot be between the same two tree). We then note that we need to add the edge \((b,c)\) and \((g,k)\)

One then obtained one single tree and thus one found the minimal spanning tree.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Show that a simple graph is a tree if and only if it contains no simple circuits and the addition of an edge connecting two nonadjacent vertices produces a new graph that has exactly one simple circuit (where circuits that contain the same edges are not considered different).

Show that a tree has either one center or two centers that are adjacent.

The eccentricity of a vertex in an unrooted tree is the length of the longest simple path beginning at this vertex. A vertex is called a center if no vertex in the tree has smaller eccentricity than this vertex. In Exercises \({\bf{39--41}}\) find every vertex that is a center in the given tree.

41.

Sollin's algorithm produces a minimum spanning tree from a connected weighted simple graph \({\bf{G = (V,E)}}\) by successively adding groups of edges. Suppose that the vertices in \({\bf{V}}\) are ordered. This produces an ordering of the edges where \({\bf{\{ }}{{\bf{u}}_{\bf{0}}}{\bf{,}}{{\bf{v}}_{\bf{0}}}{\bf{\} }}\) precedes \({\bf{\{ }}{{\bf{u}}_{\bf{1}}}{\bf{,}}{{\bf{v}}_{\bf{1}}}{\bf{\} }}\) if \({{\bf{u}}_{\bf{0}}}\) precedes \({{\bf{u}}_{\bf{1}}}\) or if \({{\bf{u}}_{\bf{0}}}{\bf{ = }}{{\bf{u}}_{\bf{1}}}\) and \({{\bf{v}}_{\bf{0}}}\) precedes \({{\bf{v}}_{\bf{1}}}\). The algorithm begins by simultaneously choosing the edge of least weight incident to each vertex. The first edge in the ordering is taken in the case of ties. This produces a graph with no simple circuits, that is, a forest of trees (Exercise \({\bf{24}}\) asks for a proof of this fact). Next, simultaneously choose for each tree in the forest the shortest edge between a vertex in this tree and a vertex in a different tree. Again the first edge in the ordering is chosen in the case of ties. (This produces a graph with no simple circuits containing fewer trees than were present before this step; see Exercise \({\bf{24}}\).) Continue the process of simultaneously adding edges connecting trees until \({\bf{n - 1}}\) edges have been chosen. At this stage a minimum spanning tree has been constructed.

Show that the addition of edges at each stage of Sollinโ€™s algorithm produces a forest.

Devise an algorithm for constructing the spanning forest of a graph based on deleting edges that form simple circuits.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free