Abstract
This paper analyzes the asymptotic worst-case running time of a number of variants of the well-known method of path compression for maintaining a collection of disjoint sets under union. We show that two one-pass methods proposed by van Leeuwen and van der Weide are asymptotically optimal, whereas several other methods, including one proposed by Rein and advocated by Dijkstra, are slower than the best methods.
Original language | English (US) |
---|---|
Pages (from-to) | 245-281 |
Number of pages | 37 |
Journal | Journal of the ACM (JACM) |
Volume | 31 |
Issue number | 2 |
DOIs | |
State | Published - Mar 30 1984 |
Externally published | Yes |
All Science Journal Classification (ASJC) codes
- Software
- Control and Systems Engineering
- Information Systems
- Hardware and Architecture
- Artificial Intelligence
Keywords
- Equivalence algorithm
- inverse Aekermann's function
- set union