Package moa.core

Class GreenwaldKhannaQuantileSummary

    • Constructor Detail

      • GreenwaldKhannaQuantileSummary

        public GreenwaldKhannaQuantileSummary​(int maxTuples)
    • Method Detail

      • insert

        public void insert​(double val)
      • deleteTuple

        protected void deleteTuple​(int index)
      • deleteTupleMostFull

        protected void deleteTupleMostFull()
      • deleteMergeableTupleMostFull

        protected void deleteMergeableTupleMostFull()
      • getWorstError

        public long getWorstError()
      • findMaxDelta

        public long findMaxDelta()
      • compress

        public void compress​(long maxDelta)
      • getQuantile

        public double getQuantile​(double quant)
      • getTotalCount

        public long getTotalCount()
      • getPropotionBelow

        public double getPropotionBelow​(double cutpoint)
      • getCountBelow

        public long getCountBelow​(double cutpoint)
      • getSuggestedCutpoints

        public double[] getSuggestedCutpoints()
      • findIndexOfTupleGreaterThan

        protected int findIndexOfTupleGreaterThan​(double val)
      • computeBandBoundaries

        public static long[] computeBandBoundaries​(long maxDelta)
      • getDescription

        public void getDescription​(StringBuilder sb,
                                   int indent)
        Description copied from interface: MOAObject
        Returns a string representation of this object. Used in AbstractMOAObject.toString to give a string representation of the object.
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent