Skip to main navigation Skip to search Skip to main content

Improved labeling scheme for ancestor queries

  • Stephen Alstrup
  • , Theis Rauhe

Research output: Book / Anthology / ReportReportResearch

Abstract

We present a labeling scheme for rooted trees that support ancestor queries. Given a tree, the scheme assigns to each node a label which is a binary string. Given the labels of any two nodes u and v, it can in constant time be determined whether u is ancestor to v alone from these labels. For trees size of n our scheme assigns labels of size bounded by log n + O (√log n) bits to each node. This improves a recent result of a biteboul, Kaplan and Milo at SODA'01, where a labeling scheme with labels of size 3/2 log n + O(loglog n) was presented. The problem is among other things motivated in  connection with efficient representation of information for XML-based research engines for the internet.
Original languageEnglish
Place of PublicationCopenhagen
PublisherIT-Universitetet i København
EditionTR-2001-5
Number of pages12
ISBN (Electronic)87-7949-009-3
Publication statusPublished - Jul 2001
Externally publishedYes
SeriesIT University Technical Report Series
NumberTR-2001-5
ISSN1600-6100

Keywords

  • labeling scheme
  • rooted trees
  • ancestor queries
  • binary string labels
  • efficient information representation

Fingerprint

Dive into the research topics of 'Improved labeling scheme for ancestor queries'. Together they form a unique fingerprint.

Cite this