protected static class CanonicalHuffmanRabaCoder.RabaCodingSetup extends CanonicalHuffmanRabaCoder.AbstractCodingSetup
IRaba
representing B+Tree values. For this
case the code book is generated from only the non-zero frequency counts.
This results in a more compact code.Constructor and Description |
---|
CanonicalHuffmanRabaCoder.RabaCodingSetup(IRaba raba) |
Modifier and Type | Method and Description |
---|---|
int |
byte2symbol(byte b) |
HuffmanCodec |
codec()
The codec used to encode and decode the logical byte[][].
|
HuffmanCodec.DecoderInputs |
decoderInputs()
The data required to reconstruct the decoder.
|
int |
getSymbolCount()
Return the #of distinct symbols used to generate the code.
|
byte |
symbol2byte(int symbol) |
buildSymbolTable, getFrequencyCount, getPackedFrequencyCount, getSymbolCount, printCodeBook
public CanonicalHuffmanRabaCoder.RabaCodingSetup(IRaba raba)
public HuffmanCodec.DecoderInputs decoderInputs()
CanonicalHuffmanRabaCoder.AbstractCodingSetup
decoderInputs
in class CanonicalHuffmanRabaCoder.AbstractCodingSetup
public HuffmanCodec codec()
CanonicalHuffmanRabaCoder.AbstractCodingSetup
codec
in class CanonicalHuffmanRabaCoder.AbstractCodingSetup
public final int getSymbolCount()
CanonicalHuffmanRabaCoder.AbstractCodingSetup
getSymbolCount
in class CanonicalHuffmanRabaCoder.AbstractCodingSetup
public final int byte2symbol(byte b)
public final byte symbol2byte(int symbol)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.