3,614 views
3 votes
3 votes
Suppose graph G has minimum spanning tree computed.How  quickly can we update minimum spanning tree if we add new vertex and incident edges to G?

2 Answers

Best answer
0 votes
0 votes

T.C is O(VlogV)  following screenshot is taken from solution manual of Coreman's book:

selected
1 votes
1 votes
Adding vertex  and incident edges to minimum.spanning tree we get a graph.Check for cycles in graph and remove max edge from each  cycle..this will give new spanning tree

Related questions

0 votes
0 votes
0 answers
1
Iqra Javed asked Jul 21, 2023
345 views
Construct a BCD-to-excess-3-code converter with a 4-bit adder. Remember that the excess-3 code digit is obtained by adding three to the corresponding BCD digit. What mus...
0 votes
0 votes
0 answers
3
0 votes
0 votes
0 answers
4