Package | Description |
---|---|
com.bigdata.btree.raba.codec | |
it.unimi.dsi.compression |
Modifier and Type | Method and Description |
---|---|
abstract HuffmanCodec.DecoderInputs |
CanonicalHuffmanRabaCoder.AbstractCodingSetup.decoderInputs()
The data required to reconstruct the decoder.
|
HuffmanCodec.DecoderInputs |
CanonicalHuffmanRabaCoder.RabaCodingSetup.decoderInputs() |
protected static HuffmanCodec.DecoderInputs |
CanonicalHuffmanRabaCoder.readDecoderInputs(int nsymbols,
InputBitStream ibs,
StringBuilder sb)
Reconstruct the
HuffmanCodec.DecoderInputs from the data written by
#writeDecoderInputs(BitVector[], OutputBitStream) . |
Modifier and Type | Method and Description |
---|---|
protected static void |
CanonicalHuffmanRabaCoder.writeDecoderInputs(HuffmanCodec.DecoderInputs decoderInputs,
OutputBitStream obs,
StringBuilder sb)
Write a compact minimum representation of the data required to
reconstruct the decoder (bit lengths and correlated symbols).
|
Modifier and Type | Method and Description |
---|---|
static PrefixCoder |
HuffmanCodec.newCoder(HuffmanCodec.DecoderInputs decoderInputs)
(Re-)constructs the canonical huffman code from the shortest code word,
the non-decreasing bit lengths of each code word, and the permutation of
the symbols corresponding to those bit lengths.
|
Constructor and Description |
---|
HuffmanCodec(int[] frequency,
HuffmanCodec.DecoderInputs decoderInputs)
Creates a new Huffman codec using the given vector of frequencies.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.