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