Dynamically Reconstructing Minimum Spanning Trees After Swapping Pairwise Vertices

oleh: Zhang-Hua Fu, Si-Bo Chen, Yi-Fei Ming, Yong-Quan Chen, Xiang-Jing Lai

Format: Article
Diterbitkan: IEEE 2019-01-01

Deskripsi

The minimum spanning tree (MST) problem is a fundamental problem in computer science and operations research, which has many real-life network design applications. Given a graph G with n vertices and m edges, starting from an MST (denoted by T) covering a subgraph of G, it is usually needed to reconstruct a new MST after swapping two vertices v &#x2208; T and v' &#x2209; T. For this purpose, the most popular choice is to reconstruct an MST from scratch, for which the current fastest algorithm (Kruskal's algorithm based on Fibonacci heap) requires a time complexity of O(m + n &#x00B7; log n), implying that a high time complexity of O(n<sup>2</sup>) &#x00B7; O(m + n &#x00B7; log n) is needed to evaluate all the O(n<sup>2</sup>) possible swapping-based moves. In order to evaluate these moves more efficiently, we integrate a series of dynamic techniques to develop a fast dynamic swap-vertex move operator, which significantly reduces the overall time complexity from O(n<sup>2</sup>) &#x00B7; O(m + n &#x00B7; log n) to O(n) &#x00B7; O(m &#x00B7; log n). We also strictly prove the correctness of the introduced method. Finally, we choose three well-studied Steiner/spanning tree problems as our test bed and carry out extensive experiments on 140 representative instances to show the effectiveness and efficiency of the proposed method. More importantly, as a general-purpose method, the dynamic swap-vertex move operator could be easily adapted to many other tree-related problems.