Class PackingFactory


  • public class PackingFactory
    extends Object

    A factory that is used to maintain associations between alphabets and preferred bit-packings for them.

    There are many ways to pack the symbols for an alphabet as binary. Different applications will wish to have different representations for reasons such as integration with external formats, whether to store ambiguity or not and what algorithms may be used on the bit-packed representation. Also, it has utility methods to arrange the bit-strings for symbols within a Java int primitive.

    Author:
    Matthew Pocock, Thomas Down