Class ThresholdFuncBitmap

    • Field Detail

      • min

        private final int min
      • buffers

        private long[] buffers
      • bufferUsed

        private int bufferUsed
      • bufCounters

        private final int[] bufCounters
      • zeroes64

        private static final int[] zeroes64
    • Constructor Detail

      • ThresholdFuncBitmap

        public ThresholdFuncBitmap​(int min)
        Construction a threshold function with a given threshold
        Parameters:
        min - threshold
    • Method Detail

      • threshold2buf

        private long threshold2buf​(int t,
                                   long[] buf,
                                   int bufUsed)
      • threshold3

        private static long threshold3​(int t,
                                       long[] buffers,
                                       int bufUsed)
      • threshold4

        private long threshold4​(int T,
                                long[] buf,
                                int bufUsed)
      • orLiterals

        private void orLiterals​(BitmapStorage out,
                                int runBegin,
                                int runLength)
      • andLiterals

        private void andLiterals​(BitmapStorage out,
                                 int runBegin,
                                 int runLength)
      • generalLiterals

        private void generalLiterals​(int deficit,
                                     BitmapStorage out,
                                     int runBegin,
                                     int runLength)