| Modifier and Type | Field and Description |
|---|---|
| private int | alphabetSize
The encoded alphabet size. |
| private final int[] | bwtBlock
The Burrows-Wheeler transformed block. |
| private final int | |
| private final boolean[] | bwtValuesPresent
At each position, |
| private final char[] | mtfBlock
The output of the Move To Front Transform and Run-Length Encoding[2] stages. |
| private int | |
| private final int[] | mtfSymbolFrequencies
The global frequencies of values within the |
| Access | Constructor and Description |
|---|---|
| pack-priv | Bzip2MTFAndRLE2StageEncoder(final int[]
The Burrows Wheeler Transformed block data bwtBlock, final int The actual length of the BWT data bwtLength, final boolean[] The values that are present within the BWT data. For each index,
bwtValuesPresent)true if that value is present within the data, otherwise false
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv int | |
| pack-priv char[] | |
| pack-priv int | |
| pack-priv int[] |
| alphabetSize | back to summary |
|---|---|
| private int alphabetSize The encoded alphabet size. | |
| bwtBlock | back to summary |
|---|---|
| private final int[] bwtBlock The Burrows-Wheeler transformed block. | |
| bwtLength | back to summary |
|---|---|
| private final int bwtLength Actual length of the data in the | |
| bwtValuesPresent | back to summary |
|---|---|
| private final boolean[] bwtValuesPresent At each position, | |
| mtfBlock | back to summary |
|---|---|
| private final char[] mtfBlock The output of the Move To Front Transform and Run-Length Encoding[2] stages. | |
| mtfLength | back to summary |
|---|---|
| private int mtfLength The actual number of values contained in the | |
| mtfSymbolFrequencies | back to summary |
|---|---|
| private final int[] mtfSymbolFrequencies The global frequencies of values within the | |
| Bzip2MTFAndRLE2StageEncoder | back to summary |
|---|---|
pack-priv Bzip2MTFAndRLE2StageEncoder(final int[] bwtBlock, final int bwtLength, final boolean[] bwtValuesPresent)
| |
| encode | back to summary |
|---|---|
| pack-priv void encode() Performs the Move To Front transform and Run Length Encoding[1] stages. | |
| mtfAlphabetSize | back to summary |
|---|---|
pack-priv int mtfAlphabetSize()
| |
| mtfBlock | back to summary |
|---|---|
pack-priv char[] mtfBlock()
| |
| mtfLength | back to summary |
|---|---|
pack-priv int mtfLength()
| |
| mtfSymbolFrequencies | back to summary |
|---|---|
pack-priv int[] mtfSymbolFrequencies()
| |