Computer product, generating apparatus, and generating method for generating Huffman tree, and computer product for file compression using Huffman tree
AssigneeFujitsu Limited
InventorMasahiro Kataoka
Life of this patent
Estimating the term…
Loading patent…
AssigneeFujitsu Limited
InventorMasahiro Kataoka
Estimating the term…
A computer-readable recording medium stores a program causing a computer to determine the size of an applied 2N-branch non-contact Huffman tree depending on where in a range the total number of types (X) of character information groups exists. The size of the 2N-branch non-contact Huffman tree has the maximum number of branches, 2N. The radicand N is an upper limit of the length of a compression code. Thus, when the size of the 2N-branch non-contact Huffman tree is determined, the radicand (N) may be determined depending on the total number of types (X) of character information groups. Specifically, when the total number of types (X) of character information groups is 2x−2<X≦2x−1, if the maximum number of branches (2N) is at least 2x−1, a Huffman tree can be established. To minimize the size, N=x−1 may be adopted. Further, when the total number of types (X) of character information groups is 2x−1<X≦2x, if the maximum number of branches (2N) is at least 2x, a Huffman tree can be established. To minimize the size, N=x may be adopted.
A non-transitory computer-readable recording medium storing therein a generating program that causes a computer to execute a process comprising:
A generating apparatus comprising:
A generating method executed by a computer that includes a storage device that stores an object file, the generating method comprising:
A non-transitory computer-readable recording medium storing therein a compression program that causes a computer to execute a process comprising:
Dependencies are inferred from the claim text.