We consider the problem of coding labeled trees by means of strings of node labels and we present a unified approach based on a reduction of both coding and decoding to integer (radix) sorting. Applying this approach to four well-known codes introduced by Prufer [18], Neville [17], and Deo and Micikevicius [5], we close some open problems. With respect to coding, our general sequential algorithm requires optimal linear time, thus solving the problem of optimally computing the second code presented by Neville. The algorithm can be parallelized on the EREW PRAM model, so as to work in O(log n) time using O(n) or O(nrootlog n) operations, depending on the code. With respect to decoding, the problem of finding an optimal sequential algorithm for the second Neville code was also open, and our general scheme solves it. Furthermore, in a parallel setting our scheme yields the first efficient decoding algorithms for the codes in [5] and [17].

A unified approach to coding labeled trees / Caminiti, Saverio; Finocchi, Irene; Petreschi, Rossella. - STAMPA. - 2976:(2004), pp. 339-348. (Intervento presentato al convegno 6th Latin American Symposium on Theoretical Informatics (LATIN 2004) tenutosi a Buenos Aires; Argentina) [10.1007/978-3-540-24698-5_38].

A unified approach to coding labeled trees

CAMINITI, SAVERIO;FINOCCHI, Irene;PETRESCHI, Rossella
2004

Abstract

We consider the problem of coding labeled trees by means of strings of node labels and we present a unified approach based on a reduction of both coding and decoding to integer (radix) sorting. Applying this approach to four well-known codes introduced by Prufer [18], Neville [17], and Deo and Micikevicius [5], we close some open problems. With respect to coding, our general sequential algorithm requires optimal linear time, thus solving the problem of optimally computing the second code presented by Neville. The algorithm can be parallelized on the EREW PRAM model, so as to work in O(log n) time using O(n) or O(nrootlog n) operations, depending on the code. With respect to decoding, the problem of finding an optimal sequential algorithm for the second Neville code was also open, and our general scheme solves it. Furthermore, in a parallel setting our scheme yields the first efficient decoding algorithms for the codes in [5] and [17].
2004
6th Latin American Symposium on Theoretical Informatics (LATIN 2004)
algorithm; trees; constrained minimum
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
A unified approach to coding labeled trees / Caminiti, Saverio; Finocchi, Irene; Petreschi, Rossella. - STAMPA. - 2976:(2004), pp. 339-348. (Intervento presentato al convegno 6th Latin American Symposium on Theoretical Informatics (LATIN 2004) tenutosi a Buenos Aires; Argentina) [10.1007/978-3-540-24698-5_38].
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/366771
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 13
  • ???jsp.display-item.citation.isi??? 12
social impact