Identifying Nearest Common Ancestors in a Distributed Environment

Stephen Alstrup, Theis Rauhe, Cyril Gavoille, Haim Kaplan

Research output: Book / Anthology / ReportReportResearch

Abstract

We give a simple algorithm that labels the nodes of a rooted tree such that from the labels of two nodes alone one can compute in constant time the label of their nearest common ancestor. The labels assigned by out algorithm are of size O(log n) bits where n is the number of nodes on the tree. The algorithm runs in O(n) time.
Original languageEnglish
Place of PublicationCopenhagen
PublisherIT-Universitetet i København
EditionTR-2001-6
Number of pages14
ISBN (Electronic)87-7949-008-5
Publication statusPublished - Aug 2001
Externally publishedYes
SeriesIT University Technical Report Series
NumberTR-2001-6
ISSN1600-6100

Keywords

  • nearest common ancestor
  • rooted tree
  • labeling algorithm
  • complexity analysis
  • information retrieval

Fingerprint

Dive into the research topics of 'Identifying Nearest Common Ancestors in a Distributed Environment'. Together they form a unique fingerprint.

Cite this