MAM API
(developer's version)
A B C D E F G H I L M N O P R S T U V W Z

A

AdaptiveModel - Class in <Unnamed>
Regular adaptive arithmetic coding model.
AdaptiveModel() - Constructor for class AdaptiveModel
 
addNodes(int[]) - Method in class PPMTree
 
adjust(byte[], int) - Static method in class M2FDecode
 
adjust(byte[], byte) - Static method in class M2FEncode
 
ArithmeticModel - Interface in <Unnamed>
Common interface for different kinds of models that can be used together with the arithmetic coding.
available() - Method in class BinaryInputStream
 

B

bCounter - Variable in class BinaryOutputStream
 
BinaryInputStream - Class in <Unnamed>
This output stream provides an eight bit long buffer for writing individual bits.
BinaryInputStream(InputStream) - Constructor for class BinaryInputStream
Create a binary stream on the top of the given stream.
BinaryInputStreamTest - Class in <Unnamed>
 
BinaryInputStreamTest() - Constructor for class BinaryInputStreamTest
 
BinaryOutputStream - Class in <Unnamed>
This output stream provides an eight bit long buffer for writing individual bits.
BinaryOutputStream(OutputStream) - Constructor for class BinaryOutputStream
Create a binary stream on the top of the given stream.
BinaryOutputStreamTest - Class in <Unnamed>
 
BinaryOutputStreamTest() - Constructor for class BinaryOutputStreamTest
 
bitPlusFollow(boolean, BinaryOutputStream, int) - Method in class MAMEncode
 
blockSize - Variable in class BWTEncode
 
blockSize - Variable in class M2FEncode
 
buffer - Variable in class BinaryInputStream
 
buffer - Variable in class BinaryOutputStream
 
BWTDecode - Class in <Unnamed>
Burrows-Wheeler transformation decoding codec.
BWTDecode() - Constructor for class BWTDecode
 
BWTEncode - Class in <Unnamed>
Burrows-Wheeler transformation encoding codec.
BWTEncode() - Constructor for class BWTEncode
 
BWTTest - Class in <Unnamed>
Unit tests for Burrows-Wheeler transformation.
BWTTest() - Constructor for class BWTTest
 

C

cacheC - Variable in class BWTEncode
 
callCodec(Codec, String) - Static method in class MAMUtil
String coding function that can be used for test purposes.
callCodec(Codec, InputStream, OutputStream) - Static method in class MAMUtil
 
chars - Variable in class AdaptiveModel
 
children - Variable in class PPMTreeNode
 
Codec - Interface in <Unnamed>
Common interface for all stream encoding modules.
compare(int, int, int, byte[]) - Method in class BWTEncode
 
context - Variable in class PPMModel
 
context - Variable in class PPMTreeNode
 
count - Variable in class PPMTreeNode
 
counts - Variable in class AdaptiveModel
 
countToSymbol(int) - Method in class AdaptiveModel
 
countToSymbol(int) - Method in interface ArithmeticModel
Return the symbol with the cumulative count
countToSymbol(int) - Method in class PPMModel
Return the symbol with the cumulative count
currentIndex - Variable in class AdaptiveModel
 

D

DEFAULT_BLOCK_SIZE - Static variable in class BWTEncode
Default length for the encoding window

E

E1_ENCODED - Static variable in class BWTTest
 
E1_ORIGINAL - Static variable in class BWTTest
 

F

find(int[]) - Method in class PPMTree
 
flushBitBuffer() - Method in class BinaryOutputStream
Flush the bit buffer by padding it with zeros.

G

getCount(int[]) - Method in class PPMTree
 
getDefaultByteOrder() - Static method in class MAMUtil
Defaults for move-to-front transformation.
getTotalCount(int) - Method in class PPMTree
 

H

highInterval(int) - Method in class AdaptiveModel
 
highInterval(int) - Method in interface ArithmeticModel
Returns the high interval cumulative count of a symbol
highInterval(int) - Method in class PPMModel
Returns the high interval cumulative count of a symbol

I

in - Variable in class BinaryInputStream
 
increment(int[]) - Method in class PPMTree
 
indexOk - Variable in class AdaptiveModel
 

L

lowInterval(int) - Method in class AdaptiveModel
 
lowInterval(int) - Method in interface ArithmeticModel
Returns the low interval cumulative count of a symbol
lowInterval(int) - Method in class PPMModel
Returns the low interval cumulative count of a symbol

M

M2FDecode - Class in <Unnamed>
Move-to-front transformation decoding code.
M2FDecode() - Constructor for class M2FDecode
 
M2FEncode - Class in <Unnamed>
 
M2FEncode() - Constructor for class M2FEncode
 
main(String[]) - Static method in class MAMCodec
 
main(String[]) - Static method in class MAMDecode
 
MAMCodec - Class in <Unnamed>
Generic stream transformation program.
MAMCodec() - Constructor for class MAMCodec
No instantiation for this stand-alone program
MAMCodec.CodecNames - Enum in <Unnamed>
Supported codecs
MAMCodec.CodecNames() - Constructor for enum MAMCodec.CodecNames
 
MAMDecode - Class in <Unnamed>
Decoding for the artimetic coding.
MAMDecode() - Constructor for class MAMDecode
 
MAMDecode(ArithmeticModel) - Constructor for class MAMDecode
 
MAMEncode - Class in <Unnamed>
Aritmetic coding for binomial and byte sequencies.
MAMEncode() - Constructor for class MAMEncode
 
MAMEncode(ArithmeticModel) - Constructor for class MAMEncode
 
MAMTest - Class in <Unnamed>
 
MAMTest() - Constructor for class MAMTest
 
MAMUtil - Class in <Unnamed>
Miscellaneous utilities for MAMCodec.
MAMUtil() - Constructor for class MAMUtil
No instantiation for the library class
MAMUtilTest - Class in <Unnamed>
 
MAMUtilTest() - Constructor for class MAMUtilTest
 
maxContext - Variable in class PPMModel
 
model - Variable in class MAMDecode
 
model - Variable in class MAMEncode
 

N

nextBit() - Method in class BinaryInputStream
 
nodeCount - Variable in class PPMTree
 

O

out - Variable in class BinaryOutputStream
 

P

parent - Variable in class PPMTreeNode
 
phase - Variable in class BWTEncode
 
pointer - Variable in class BinaryInputStream
 
PPMModel - Class in <Unnamed>
An implementation of prediction by partial matching.
PPMModel() - Constructor for class PPMModel
 
PPMModel(int) - Constructor for class PPMModel
 
PPMModelTest - Class in <Unnamed>
 
PPMModelTest() - Constructor for class PPMModelTest
 
PPMTree - Class in <Unnamed>
Substring frequency tree
PPMTree(int) - Constructor for class PPMTree
 
PPMTreeNode - Class in <Unnamed>
 
PPMTreeNode() - Constructor for class PPMTreeNode
 
PPMTreeNode(int, PPMTreeNode) - Constructor for class PPMTreeNode
 
previousCount() - Method in class AdaptiveModel
Gets cumulative symbol count of the sybol with the previous index (probabitily other than 0 or for the first symbol) in encoding.
processTransformation(InputStream, OutputStream) - Method in class BWTDecode
 
processTransformation(InputStream, OutputStream) - Method in class BWTEncode
 
processTransformation(InputStream, OutputStream) - Method in interface Codec
Performs a transformation to the given input and writes the corresponding output to the given stream.
processTransformation(InputStream, OutputStream) - Method in class M2FDecode
 
processTransformation(InputStream, OutputStream) - Method in class M2FEncode
 
processTransformation(InputStream, OutputStream) - Method in class MAMDecode
 
processTransformation(InputStream, OutputStream) - Method in class MAMEncode
This method encodes symbols to the output stream, one at a time.
processTransformation(InputStream, OutputStream) - Method in class ZIPDecode
 
processTransformation(InputStream, OutputStream) - Method in class ZIPEncode
 

R

read() - Method in class BinaryInputStream
 
read(InputStream, byte[]) - Static method in class MAMUtil
Read as much as possible until the end of stream.
read(InputStream) - Static method in class MAMUtil
 
readBits(int) - Method in class BinaryInputStream
 
readInt(InputStream) - Static method in class MAMUtil
 
rescaleCounts() - Method in class AdaptiveModel
 
reset() - Method in class AdaptiveModel
 
reset() - Method in interface ArithmeticModel
State reset to the initial values
reset() - Method in class PPMModel
 
root - Variable in class PPMTree
 
root - Variable in class PPMTreeNode
 

S

setChars() - Static method in class MAMUtil
 
setDefaultDistribution() - Static method in class MAMUtil
 
setFrequencyDistribution(int[], int[]) - Static method in class MAMUtil
 
setInitialCounts(int[], int[]) - Static method in class MAMUtil
The function must be called before the encoding.
setModel(ArithmeticModel) - Method in class MAMDecode
 
setModel(ArithmeticModel) - Method in class MAMEncode
 
sort(int, int, int[], byte[]) - Method in class BWTEncode
Merge sort for the given array.
symbol - Variable in class PPMTreeNode
 
symbols - Variable in class PPMModel
 
symbolToIndex(int) - Method in class AdaptiveModel
 

T

testBinaryContent() - Method in class BWTTest
 
testBinaryContent() - Method in class MAMTest
 
testByteEncodeDecodeCycle() - Method in class MAMTest
 
testByteSize() - Method in class BinaryOutputStreamTest
 
testCoding() - Static method in class MAMTest
 
testCompressionRate() - Method in class MAMTest
 
testDecoding() - Method in class BWTTest
 
testEncoding() - Method in class BWTTest
 
testFlushBitBuffer() - Method in class BinaryOutputStreamTest
 
testIntConversions() - Method in class MAMUtilTest
 
testNextBit() - Method in class BinaryInputStreamTest
 
testSingleCharSeqeuence() - Method in class BWTTest
 
testSort() - Method in class BWTTest
 
testToBinaryBytes() - Method in class MAMUtilTest
 
testTotalCount() - Method in class PPMModelTest
 
toBinaryBytes(byte) - Static method in class MAMUtil
Converts one byte to a sequence of eight bytes of zeros and ones corresponding the bit sequence.
toBytes(int) - Static method in class MAMUtil
Converts a 32 bit int into a array of four bytes.
toInt(byte[]) - Static method in class MAMUtil
Converts four bytes to a 32 bit int.
toInt(byte[], int) - Static method in class MAMUtil
Converts four bytes to a 32 bit int.
toString() - Method in class PPMTreeNode
 
totalCount() - Method in class AdaptiveModel
 
totalCount() - Method in interface ArithmeticModel
Returns the total count.
totalCount() - Method in class PPMModel
Returns the total count.
totalCounts - Variable in class PPMModel
 
totalCounts - Variable in class PPMTree
 
tree - Variable in class PPMModel
 

U

updateModel(int) - Method in class AdaptiveModel
 
updateModel(int) - Method in interface ArithmeticModel
Informs the model with last seen symbol.
updateModel(int) - Method in class PPMModel
Informs the model with last seen symbol.

V

valueOf(String) - Static method in enum MAMCodec.CodecNames
Returns the enum constant of this type with the specified name.
values() - Static method in enum MAMCodec.CodecNames
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(int) - Method in class BinaryOutputStream
 
writeBit(boolean) - Method in class BinaryOutputStream
 

Z

ZIPDecode - Class in <Unnamed>
 
ZIPDecode() - Constructor for class ZIPDecode
 
ZIPEncode - Class in <Unnamed>
 
ZIPEncode() - Constructor for class ZIPEncode
 

A B C D E F G H I L M N O P R S T U V W Z
MAM API
(developer's version)

Copyright © 2007 Aija Niissalo, Marko Laakso, Markus Heinonen.