A linear-time algorithm for a special case of disjoint set union (Q1062461)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: A linear-time algorithm for a special case of disjoint set union |
scientific article; zbMATH DE number 3913702
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | A linear-time algorithm for a special case of disjoint set union |
scientific article; zbMATH DE number 3913702 |
Statements
A linear-time algorithm for a special case of disjoint set union (English)
0 references
1985
0 references
This paper presents a linear-time algorithm for the special case of the disjoint set union problem in which the structure of the unions (defined by a ''union tree'') is known in advance. The algorithm executes an intermixed sequence of m union and find operations on n elements in \(O(m+n)\) time and O(n) space. This is a slight but theoretically significant improvement over the fastest known algorighm for the general problem, which runs in \(O(m\alpha (m+n,n)+n)\) time and O(n) space, where \(\alpha\) is a functional inverse of Ackermann's function.
0 references
union tree
0 references
0 references
0.91310954
0 references
0.90255415
0 references
0.8798622
0 references
0.8798622
0 references
0.8659663
0 references
0.8627494
0 references
0.86147594
0 references