Sciweavers

WEA
2010
Springer

Experiments on Union-Find Algorithms for the Disjoint-Set Data Structure

13 years 11 months ago
Experiments on Union-Find Algorithms for the Disjoint-Set Data Structure
Abstract. The disjoint-set data structure is used to maintain a collection of non-overlapping sets of elements from a finite universe. Algorithms that operate on this data structure are often referred to as Union-Find algorithms. They are used in numerous practical applications and are also available in several software libraries. This paper presents an extensive experimental study comparing the time required to execute 55 variations of Union-Find algorithms. The study includes all the classical algorithms, several recently suggested enhancements, and also different combinations and optimizations of these. Our results clearly show that a somewhat forgotten simple algorithm developed by Rem in 1976 is the fastest, in spite of the fact that its worst-case time complexity is inferior to that of the commonly accepted “best” algorithms. Key words: Union-Find, Disjoint Set, Experimental Algorithms
Md. Mostofa Ali Patwary, Jean R. S. Blair, Fredrik
Added 18 May 2010
Updated 18 May 2010
Type Conference
Year 2010
Where WEA
Authors Md. Mostofa Ali Patwary, Jean R. S. Blair, Fredrik Manne
Comments (0)