Paper record
W1967459785Amortized Analysis of Algorithms for Set Union with Backtracking
Jeffery Westbrook, Robert Endre Tarjan
- Year
- 1989
- Venue
- SIAM Journal on Computing
- References
- 11
- Cited by
- 30
Details and counts from OpenAlex.
Abstract
Mannila and Ukkonen [Lecture Notes in Computer Science 225, Springer-Verlag, New York, 1986, pp. 236–243] have studied a variant of the classical disjoint set union (equivalence) problem in which an extra operation, called de-union, can undo the most recently performed union operation not yet undone. They proposed a way to modify standard set union algorithms to handle de-union operations. In this paper several algorithms are analyzed based on their approach. The most efficient such algorithms have an amortized running time of per operation, where n is the total number of elements in all the sets. These algorithms use space, but the space usage can be reduced to by a simple change. The authors prove that any separable pointer-based algorithm for the problem requires time per operation, thus showing that our upper bound on amortized time is tight.