Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider a ring network R where entities are anonymous (i.e., they do not have a

ID: 672784 • Letter: C

Question

Consider a ring network R where entities are anonymous (i.e., they do not have an id). Each link has an integer associated to it called cost (known to both entities connected by it). All links have different costs. The cost of a spanning-tree T of R is the sum of the costs of all the edges in T. Consider the problem of finding the minimum cost spanning tree. Assuming that there is message ordering (FIFO assumption), design an algorithm to solve the problem as efficiently as possible and analyze its message complexity. As usual, do not make any additional assumption, and refrain from using messages that are too large (a message should contain only a constant number of values).

Explanation / Answer

For this problem we can use the ghs algorithm to solve the minimum spanning algorithm. It basically assigns a level to each fragment with initial value set to zero. Now the edges in the graph are divided into three categories as branch edges, rejected edges and basic edges.

Based on the distinction we can divide the problem and can get the solution for minimum spanning algorithm.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote