eCommons

 

On the Efficiency of a Good but Not Linear Set Union Algorithm

Other Titles

Abstract

Consider two types of instructions for manipulating disjoint sets. FIND(x) computes the name of the (unique) set containing element x. UNION(A,B,C) combines sets A and B into a new set named C. We examinee a known algorithm for implementing sequences of these instructions. We show that if f(n) is the maximum time required by any sequence of n instructions, k1nα(n)≤f(n)≤k2nlog⁡(n) for some constants k1 and k2, where log⁡(n)=min{i|logi⁡(n)≤1} and α(n) is a recursively defined function which satisfies α(n)→ as n. Thus the set union algorithm is O(nlog⁡(n)) but not O(n). Keywords and phrases: algorithm, complexity, equivalence, partition, set union, tree.

Journal / Series

Volume & Issue

Description

Sponsorship

Date Issued

1972-11

Publisher

Cornell University

Keywords

computer science; technical report

Location

Effective Date

Expiration Date

Sector

Employer

Union

Union Local

NAICS

Number of Workers

Committee Chair

Committee Co-Chair

Committee Member

Degree Discipline

Degree Name

Degree Level

Related Version

Related DOI

Related To

Related Part

Based on Related Item

Has Other Format(s)

Part of Related Item

Related To

Related Publication(s)

Link(s) to Related Publication(s)

References

Link(s) to Reference(s)

Previously Published As

http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR72-148

Government Document

ISBN

ISMN

ISSN

Other Identifiers

Rights

Rights URI

Types

technical report

Accessibility Feature

Accessibility Hazard

Accessibility Summary

Link(s) to Catalog Record