Huffman Codes versus Augmented Non-Prefix-Free Codes

被引:3
|
作者
Adas, Boran [1 ]
Bayraktar, Ersin [1 ]
Kulekci, M. Oguzhan [2 ]
机构
[1] Istanbul Tech Univ, Dept Comp Enginering, TR-80626 Istanbul, Turkey
[2] ITU ARI Teknokent, ERLAB Software Co, Istanbul, Turkey
来源
关键词
D O I
10.1007/978-3-319-20086-6_24
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Non-prefix-free (NPF) codes are not uniquely decodable, and thus, have received very few attention due to the lack of that most essential feature required in any coding scheme. Augmenting NPF codes with compressed data structures has been proposed in ISIT'2013 [8] to overcome this limitation. It had been shown there that such an augmentation not only brings the unique decodability to NPF codes, but also provides efficient random access. In this study, we extend this approach and compare augmented NPF codes with the 0th-order Huffman codes in terms of compression ratios and random access times. Basically, we benchmark four coding schemes as NPF codes augmented with wavelet trees (NPF-WT), with R/S dictionaries (NPF-RS), Huffman codes, and sampled Huffman codes. Since Huffman coding originally does not provide random access feature, sampling is a common way in practice to speed up access to arbitrary symbols in the encoded stream. We achieve sampling by simply managing an additional array that marks the beginnings of the codewords in steps of the sampling ratio, and keeping that sparse bit array compressed via R/S dictionary data structure. The experiments revealed that augmented NPF codes achieve compression very close to the Huffman with the additional advantage of random access. When compared to sampled Huffman coding both the compression ratios and random access performances of the NPF schemes are superior.
引用
收藏
页码:315 / 326
页数:12
相关论文
共 50 条
  • [21] ON MAXIMAL PREFIX CODES
    Staiger, Ludwig
    BULLETIN OF THE EUROPEAN ASSOCIATION FOR THEORETICAL COMPUTER SCIENCE, 2007, (91): : 205 - 207
  • [22] COMMA CODES VERSUS COMMA-FREE CODES
    STIFFLER, JJ
    IEEE TRANSACTIONS ON INFORMATION THEORY, 1970, 16 (01) : 128 - +
  • [23] Properties of a word-valued source with a non-prefix-free word set
    Ishida, Takashi
    Goto, Masayuki
    Matsushima, Toshiyasu
    Hirasawa, Shigeichi
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2006, E89A (12) : 3710 - 3723
  • [24] On the redundancy achieved by Huffman codes
    DePrisco, R
    DeSantis, A
    INFORMATION SCIENCES, 1996, 88 (1-4) : 131 - 148
  • [25] BOUNDS ON THE REDUNDANCY OF HUFFMAN CODES
    CAPOCELLI, RM
    GIANCARLO, R
    TANEJA, IJ
    IEEE TRANSACTIONS ON INFORMATION THEORY, 1986, 32 (06) : 854 - 857
  • [26] ON THE MAXIMUM LENGTH OF HUFFMAN CODES
    BURO, M
    INFORMATION PROCESSING LETTERS, 1993, 45 (05) : 219 - 223
  • [27] GENERATING HUFFMAN CODES.
    Grosskopf Jr., George
    Electronic Systems Technology and Design/Computer Design's, 1983, 22 (07): : 137 - 138
  • [28] ALGORITHMS FOR ADAPTIVE HUFFMAN CODES
    CORMACK, GV
    HORSPOOL, RN
    INFORMATION PROCESSING LETTERS, 1984, 18 (03) : 159 - 165
  • [29] Two properties of prefix codes and uniquely decodable codes
    Xu, Jie
    Zheng, Zhiyong
    Tian, Kun
    Chen, Man
    DESIGNS CODES AND CRYPTOGRAPHY, 2023, 91 (10) : 3321 - 3330
  • [30] Efficient and compact representations of some non-canonical prefix-free codes
    Farina, Antonio
    Gagie, Travis
    Grabowski, Szymon
    Manzini, Giovanni
    Navarro, Gonzalo
    Ordonez, Alberto
    THEORETICAL COMPUTER SCIENCE, 2022, 907 : 11 - 25