Efficient and compact representations of some non-canonical prefix-free codes

Antonio Fariña, Travis Gagie, Giovanni Manzini, Gonzalo Navarro, Alberto Ordóñez

Risultato della ricerca: Capitolo in libro/report/atti di convegnoContributo a conferenzapeer review

Abstract

For many kinds of prefix-free codes there are efficient and compact alternatives to the traditional tree-based representation. Since these put the codes into canonical form, however, they can only be used when we can choose the order in which codewords are assigned to characters. In this paper we first show how, given a probability distribution over an alphabet of σ characters, we can store a nearly optimal alphabetic prefix-free code in o(σ) bits such that we can encode and decode any character in constant time. We then consider a kind of code introduced recently to reduce the space usage of wavelet matrices (Claude, Navarro, and Ordóñez, Information Systems, 2015). They showed how to build an optimal prefix-free code such that the codewords’ lengths are non-decreasing when they are arranged such that their reverses are in lexicographic order. We show how to store such a code in O(σ log L + 2εL) bits, where L is the maximum codeword length and ε is any positive constant, such that we can encode and decode any character in constant time under reasonable assumptions. Otherwise, we can always encode and decode a codeword of ℓ bits in time O(ℓ) using O(σ log L) bits of space.

Lingua originaleInglese
Titolo della pubblicazione ospiteString Processing and Information Retrieval - 23rd International Symposium, SPIRE 2016, Proceedings
EditorShunsuke Inenaga, Kunihiko Sadakane, Tetsuya Sakai
EditoreSpringer Verlag
Pagine50-60
Numero di pagine11
ISBN (stampa)9783319460482
DOI
Stato di pubblicazionePubblicato - 2016
Pubblicato esternamente
Evento23rd International Symposium on String Processing and Information Retrieval, SPIRE 2016 - Beppu, Japan
Durata: 18 ott 201620 ott 2016

Serie di pubblicazioni

NomeLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9954 LNCS
ISSN (stampa)0302-9743
ISSN (elettronico)1611-3349

???event.eventtypes.event.conference???

???event.eventtypes.event.conference???23rd International Symposium on String Processing and Information Retrieval, SPIRE 2016
Paese/TerritorioJapan
CittàBeppu
Periodo18/10/1620/10/16

Fingerprint

Entra nei temi di ricerca di 'Efficient and compact representations of some non-canonical prefix-free codes'. Insieme formano una fingerprint unica.

Cita questo