Cornell University
Library
Cornell UniversityLibrary

eCommons

Help
Log In(current)
  1. Home
  2. Cornell Computing and Information Science
  3. Computer Science
  4. Computer Science Technical Reports
  5. Derivation of a Maximally Parallel Algorithm for Balancing Binary Search Trees

Derivation of a Maximally Parallel Algorithm for Balancing Binary Search Trees

File(s)
84-638.ps (398.66 KB)
84-638.pdf (1.52 MB)
Permanent Link(s)
https://hdl.handle.net/1813/6477
Collections
Computer Science Technical Reports
Author
Moitra, Abha
Iyengar, S. Sitharama
Abstract

A recent trend in program methodologies is to derive efficient parallel programs from sequential programs. This paper explores the question of transforming a sequential algorithm into an efficient parallel algorithm by considering the problem of balancing binary search trees. The derivation of the parallel algorithm makes use of stepwise refinement. We first derive a new iterative balancing algorithm that exploits the similarity of pointer restructuring required at all the nodes at the same level. From this we derive a parallel algorithm that has time complexity O(1) on an $N$-processor configuration. This achieves the theoretical limit of speed-up possible in a multi-processor configuration.

Date Issued
1984-09
Publisher
Cornell University
Keywords
computer science
•
technical report
Previously Published as
http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR84-638
Type
technical report

Site Statistics | Help

About eCommons | Policies | Terms of use | Contact Us

copyright © 2002-2026 Cornell University Library | Privacy | Web Accessibility Assistance