Paper record
W2123790255New techniques for the union-find problem
Johannes A. La Poutré
- Year
- 1990
- Venue
- Symposium on Discrete Algorithms
- References
- 8
- Cited by
- 33
Details and counts from OpenAlex.
Abstract
A well-known result of Tarjan (cf. [10]) states that a program of up to n UNION and m FIND instructions can be executed in O(n + m.c(m, n)) time on a collection of n elements, where a(m, n) denotes the functional inverse of Ackermann's function. In this paper we develop a new approach to the problem and prove that the time for the k th FIND can be limited to O(c(k, n)) worst case, while the total cost for the program of UNION's and m FIND's remains bounded by O(n + m.c(m, n)). The technique is part of a family of lgorithms that can achieve various trade-offs in cost for the individual instructions. The new lgorithm is important in all set-manipulation problems that require frequent FIND's. Because a(m, n) is O(1) in all practical cases, the new lgorithms guarantees that FIND's are essentially O(1) worst case, within the optimal bound for the UNION-FIND problem as a whole. The algorithm