A Linear Time Algorithm for Finding Minimum Spanning Tree Replacement Edges

08/09/2019
by   David A. Bader, et al.
0

Given an undirected, weighted graph, the minimum spanning tree (MST) is a tree that connects all of the vertices of the graph with minimum sum of edge weights. In real world applications, network designers often seek to quickly find a replacement edge for each edge in the MST. For example, when a traffic accident closes a road in a transportation network, or a line goes down in a communication network, the replacement edge may reconnect the MST at lowest cost. In the paper, we consider the case of finding the lowest cost replacement edge for each edge of the MST. A previous algorithm by Tarjan takes O(m α(n, m)) time, where α(n, m) is the inverse Ackermann's function. Our algorithm is the first that runs in O(n + m) time and O(n + m) space. Moreover, it is easy to implement and our experimental study demonstrates fast performance on several types of graphs. The most vital edge is the graph edge whose removal causes the largest increase in weight of the minimum spanning tree. Our algorithm also finds the most vital edge in linear time.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset