Package htsjdk.samtools.cram.encoding.core.huffmanUtils
package htsjdk.samtools.cram.encoding.core.huffmanUtils
-
ClassDescriptionHuffman bit code word consisting of a symbol, the corresponding codeword and codeword bit length.Given a set of
HuffmanParams
, creates the set of canonical codes that are be used to read/write symbols from/to an output/input stream.A class for carrying around encoding parameters for a canonical Huffman encoder.A utility class that calculates Huffman encoding parameters based on the frequencies of the symbols to be encoded.