ScienceDirect® Home Skip Main Navigation Links
You have guest access to ScienceDirect. Find out more.
 
Home
Browse
My Settings
Alerts
Help
 Quick Search
 Search tips (Opens new window)
    Clear all fields    
Theoretical Computer Science
Volume 382, Issue 2, 31 August 2007, Pages 97-108
Latin American Theoretical Informatics
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Purchase PDF (736 K)

  E-mail Article   
  Add to my Quick Links   
Bookmark and share in 2collab (opens in new window)
Request permission to reuse this article
  Cited By in Scopus (0)
 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1016/j.tcs.2007.03.009    How to Cite or Link Using DOI (Opens New Window)
Copyright © 2007 Elsevier Ltd All rights reserved.

On coding labeled treesstar, open

Saverio Caminitia, Corresponding Author Contact Information, E-mail The Corresponding Author, Irene Finocchib, E-mail The Corresponding Author and Rossella Petreschia, E-mail The Corresponding Author

aDipartimento di Informatica, Università degli Studi di Roma “La Sapienza”, Via Salaria 113, 00198 Roma, Italy bDipartimento di Informatica, Sistemi e Produzione, Università degli Studi di Roma “Tor Vergata”, Via del Politecnico 1, 00133 Roma, Italy

Available online 5 March 2007.

Purchase the full-text article



References and further reading may be available for this article. To view references and further reading you must purchase this article.

Abstract

We consider the problem of coding labeled trees by means of strings of node labels. Different codes have been introduced in the literature by Prüfer, Neville, and Deo and Micikevičius. For all of them, we show that both coding and decoding can be reduced to integer (radix) sorting, closing several open problems within a unified framework that can be applied both in a sequential and in a parallel setting. Our sequential coding and decoding schemes require optimal O(n) time when applied to n-node trees, yielding the first linear time decoding algorithm for a code presented by Neville. These schemes can be parallelized on the EREW PRAM model, so as to work in O(logn) time with cost O(n), View the MathML source, or O(nlogn), depending on the code and on the operation: in all cases, they either match or improve the performances of the best ad hoc approaches known so far.

Keywords: Graph algorithms; Labeled trees; Prüfer-like codes; Data structures


Theoretical Computer Science
Volume 382, Issue 2, 31 August 2007, Pages 97-108
Latin American Theoretical Informatics
 
Home
Browse
My Settings
Alerts
Help
Elsevier.com (Opens new window)
About ScienceDirect  |  Contact Us  |  Information for Advertisers  |  Terms & Conditions  |  Privacy Policy
Copyright © 2008 Elsevier B.V. All rights reserved. ScienceDirect® is a registered trademark of Elsevier B.V.