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. Maintaining Tree Projections in Amortized $O$(log $n$) Time.

Maintaining Tree Projections in Amortized $O$(log $n$) Time.

File(s)
89-1034.pdf (1.44 MB)
89-1034.ps (339.15 KB)
Permanent Link(s)
https://hdl.handle.net/1813/6834
Collections
Computer Science Technical Reports
Author
Peckham, Stephen B.
Abstract

The projection of a set of marked nodes in a tree can be represented by a structure tree, that is, a subtree containing the marked nodes and the lowest common ancestors of all pairs of marked nodes. As an application modifies a forest of trees by linking and cutting trees and by marking and unmarking nodes, the structure tree associated with each tree must be updated in order to reflect the current set of marked nodes. Previous algorithms have used $O(n)$ time per operation [Hoover 87] to maintain structure trees. This algorithm makes use of self-adjusting binary trees [Sleator and Tarjan 85] and reduces the running time to amortized $O$(log $n$) per operation.

Date Issued
1989-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/TR89-1034
Type
technical report

Site Statistics | Help

About eCommons | Policies | Terms of use | Contact Us

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