DocumentCode :
1144135
Title :
Some Observations on Equivalence Handling Methods
Author :
Murray, Neil V.
Author_Institution :
Department of Computer Science, LeMoyne College
Issue :
5
fYear :
1981
fDate :
5/1/1981 12:00:00 AM
Firstpage :
361
Lastpage :
362
Abstract :
The online disjoint set union problem is solved essentially by implementing two operations which manipulate disjoint sets. FIND(x) computes the name of the unique set of which x is a member. UNION(A,B) merges the two sets A and B into one new set named either A or B. Given a set of n elements, we may perform f ≥ n FIND´s and n−1 intermixed UNION´s in time 0(fα(f,n)) and space 0(n), where α(f,n) is related to a functional inverse of Ackermann´s function and grows slowly. We show that certain modifications to the UNION operation that are convenient in some applications do not affect the running time complexity. We also show that under appropriate input restrictions, UNION and FIND can be made to run in linear time. However, the space required is 0(n+e), where e is the number of equivalence pairs to be processed.
Keywords :
Equivalence; UNION-FIND; partition; path compression; tree balancing; Information science; Merging; Partitioning algorithms; Tree graphs; Equivalence; UNION-FIND; partition; path compression; tree balancing;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/TC.1981.1675795
Filename :
1675795
Link To Document :
بازگشت