Efficient implementation of graph algorithms using contraction

  • Authors:
  • Harold N. Gabow;Zvi Galil;Thomas H. Spencer

  • Affiliations:
  • Univ. of Colorado at Boulder, Boulder;Columbia Univ., New York, NY/ and Tel Aviv Univ., Tel Aviv, Israel;Rensselaer Polytechnic Institute, Troy, NY

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

The (component) merging problem is a new graph problem. Versions of this problem appear as bottlenecks in various graph algorithms. A new data structure solves this problem efficiently, and two special cases of the problem have even more efficient solutions based on other data structures. The performance of the data structures is sped up by introducing a new algorithmic tool called packets.The algorithms that use these solutions to the component merging problem also exploit new properties of two existing data structures. Specifically, &Bgr;-trees can be used simultaneously as a priority queue and a concatenable queue. Similarly, F-heaps support some kinds of split operations with no loss of efficiency.An immediate application of the solution to the simplest version of the merging problem is an &Ogr;(t(m, n)) algorithm for finding minimum spanning trees in undirected graphs without using F-heaps, where t(m, n) = mlog2log2logdn, the graph has n vertices and m edges, and d = max(m/n, 2). Packets also improve the F-heap minimum spanning tree algorithm, giving the fastest algorithm currently known for this problem.The efficient solutions to the merging problem and the new observation about F-heaps lead to an &Ogr;(n(t(m, n) + nlogn)) algorithm for finding a maximum weighted matching in general graphs. This settles an open problem posed by Tarjan [ 15, p. 123], where the weaker bound of O(nm log (n2/m)) was conjectured.