Efficient and Compact Representations of Some Non-canonical Prefix-Free Codes

Use this link to cite
http://hdl.handle.net/2183/18174Collections
- OpenAIRE [181]
- GI-LBD - Congresos, conferencias, etc. [14]
Metadata
Show full item recordTitle
Efficient and Compact Representations of Some Non-canonical Prefix-Free CodesDate
2016-09-21Citation
60
Abstract
[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(σ)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(σlogL+2ϵL)O(σlogL+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(ℓ)O(ℓ) using O(σlogL)O(σlogL) bits of space.
Keywords
Efficient and Compact Representations
Some Non-canonical Prefix-Free Codes
Tree-based representation
Some Non-canonical Prefix-Free Codes
Tree-based representation
Description
The final publication is available at Springer via http://dx.doi.org/10.1007/978-3-319-46049-9_5
ISSN
0302-9743
1611-3349
1611-3349