Class CKMSQuantiles.Sample

  • Enclosing class:
    CKMSQuantiles

    static class CKMSQuantiles.Sample
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int delta
      Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.
      (package private) int g
      Difference between the lowest possible rank of this sample and its predecessor.
      (package private) double value
      Observed value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Sample​(double value, int delta)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        final double value
        Observed value.
      • g

        int g
        Difference between the lowest possible rank of this sample and its predecessor. This always starts with 1, but will be updated when compress() merges Samples.
      • delta

        final int delta
        Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.
    • Constructor Detail

      • Sample

        Sample​(double value,
               int delta)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object