Class Histogram

java.lang.Object
com.yahoo.statistics.Histogram

@Deprecated public class Histogram extends Object
Deprecated.
A set of sums or other histograms.
Author:
Steinar Knutsen
  • Constructor Summary

    Constructors
    Constructor
    Description
    Histogram(Limits limits)
    Deprecated.
    Build a new histogram using bucket limits from the given Limits object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(long n)
    Deprecated.
     
    List<com.yahoo.statistics.Bucket>
    Deprecated.
     
    long
    Deprecated.
     
    boolean
    Deprecated.
     
    double
    Deprecated.
    The lower limit for the bucket this histogram represents.
    void
    put(double[] value)
    Deprecated.
    Increment the corresponding bucket for this data point by 1.
    void
    put(double[] value, int dim)
    Deprecated.
    Increment the corresponding bucket for this data point by 1.
    void
    Deprecated.
    Reset all contained buckets.
    Deprecated.
     
    double
    Deprecated.
    The upper limit for the bucket this histogram represents.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Histogram

      public Histogram(Limits limits)
      Deprecated.
      Build a new histogram using bucket limits from the given Limits object.
  • Method Details

    • put

      public void put(double[] value)
      Deprecated.
      Increment the corresponding bucket for this data point by 1.
    • put

      public void put(double[] value, int dim)
      Deprecated.
      Increment the corresponding bucket for this data point by 1.
      Parameters:
      dim - the index of the first value to consider in value array
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • reset

      public void reset()
      Deprecated.
      Reset all contained buckets.
    • lowerLimit

      public double lowerLimit()
      Deprecated.
      The lower limit for the bucket this histogram represents.
      Returns:
      the lower limit for the bucket this histogram represents
    • upperLimit

      public double upperLimit()
      Deprecated.
      The upper limit for the bucket this histogram represents.
      Returns:
      the upper limit for the bucket this histogram represents
    • getBuckets

      public List<com.yahoo.statistics.Bucket> getBuckets()
      Deprecated.
    • getSum

      public long getSum()
      Deprecated.
    • isLeaf

      public boolean isLeaf()
      Deprecated.
    • add

      public void add(long n)
      Deprecated.