Parallel construction of Huffman Codes

被引:0
|
作者
Ostadzadeh, S. Arash [1 ]
Moulavi, M. Amir [2 ]
Zeinalpour, Zeinab [2 ]
Elahi, B. Maryam [2 ]
机构
[1] Islamic Azad Univ Mashhad, Fac Engn, Dept Comp Engn, Ostad Yousefi St Ghasem Abad, Mashhad, Iran
[2] Islamic Azad Univ Mashhad, Young Res Club, Mashhad, Iran
关键词
data structures; parallel algorithms; Huffman Codes; optimal prefix codes; PRAM;
D O I
10.1007/1-4020-5263-4_4
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
For decades, different algorithms were proposed addressing the issue of constructing Huffman Codes. In this paper we propose a detailed time-efficient three-phase parallel algorithm for generating Huffman codes on CREW PRAM model exploiting n processors, where n is equal to the number of symbols in the input alphabet. First the codeword length for each symbol is computed concurrently with a direct parallelization of the Huffman tree construction algorithm eliminating the complexity of dealing with the original tree-like data structure. Then the Huffman codes corresponding to symbols are generated in parallel based on a recursive formula. The performance of the proposed algorithm depends directly on the height of the corresponding Huffman tree. It achieves an O(n) time complexity in the worst case which is rarely encountered in practice.
引用
收藏
页码:17 / +
页数:2
相关论文
共 50 条
  • [1] Approximating Huffman codes in parallel
    Berman, P
    Karpinski, M
    Nekrich, Y
    AUTOMATA, LANGUAGES AND PROGRAMMING, 2002, 2380 : 845 - 855
  • [2] Approximating Huffman codes in parallel
    Berman, P.
    Karpinski, M.
    Nekrich, Y.
    JOURNAL OF DISCRETE ALGORITHMS, 2007, 5 (03) : 479 - 490
  • [3] A PARALLEL DECODER OF PROGRAMMABLE HUFFMAN CODES
    WEI, BWY
    MENG, TH
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 1995, 5 (02) : 175 - 178
  • [4] A work efficient parallel algorithm for constructing Huffman codes
    Milidiú, RL
    Laber, ES
    Pessoa, AA
    DCC '99 - DATA COMPRESSION CONFERENCE, PROCEEDINGS, 1999, : 277 - 286
  • [5] Construction of Heterogeneous Fractional Repetition Codes of Huffman Tree
    Yu, Chun-Lei
    Wang, Jing
    Yang, Cheng-Fu
    Peng, Xiao-Li
    Beijing Youdian Daxue Xuebao/Journal of Beijing University of Posts and Telecommunications, 2021, 44 (06): : 116 - 121
  • [6] The construction of binary Huffman equivalent codes with a greater number of synchronising codewords
    Huang, Yuh-Ming
    Wu, Sheng-Chi
    INTERNATIONAL JOURNAL OF AD HOC AND UBIQUITOUS COMPUTING, 2012, 9 (01) : 54 - 65
  • [7] GENERATE HUFFMAN CODES
    SELLERS, J
    BYTE, 1982, 7 (07): : 441 - 441
  • [8] Optimal prefix codes and Huffman codes
    Long, DY
    Jia, WJ
    Li, M
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2003, 80 (06) : 727 - 742
  • [9] GENERATING HUFFMAN CODES
    GROSSKOPF, G
    COMPUTER DESIGN, 1983, 22 (07): : 137 - &
  • [10] The warm-up algorithm:: A Lagrangian construction of length restricted Huffman codes
    Milidiú, RL
    Laber, ES
    SIAM JOURNAL ON COMPUTING, 2000, 30 (05) : 1405 - 1426