Class BitTreeEncoder


  • public class BitTreeEncoder
    extends Object
    • Constructor Detail

      • BitTreeEncoder

        public BitTreeEncoder​(int numBitLevels)
    • Method Detail

      • init

        public void init()
      • getPrice

        public int getPrice​(int symbol)
      • reverseGetPrice

        public int reverseGetPrice​(int symbol)
      • reverseGetPrice

        public static int reverseGetPrice​(short[] Models,
                                          int startIndex,
                                          int NumBitLevels,
                                          int symbol)
      • reverseEncode

        public static void reverseEncode​(short[] Models,
                                         int startIndex,
                                         Encoder rangeEncoder,
                                         int NumBitLevels,
                                         int symbol)
                                  throws IOException
        Throws:
        IOException