Packages

class FastMapHistogram extends MutableIntHistogram

The FastMapHistogram class. Quickly compute histograms over integer data.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FastMapHistogram
  2. MutableIntHistogram
  3. IntHistogram
  4. MutableHistogram
  5. Histogram
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FastMapHistogram(_size: Int, _buckets: Array[Int], _counts: Array[Long], _used: Int, _total: Long)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def binCounts(): Seq[(Int, Long)]

    Return sequence of tuples pairing bin label value and to its associated count.

    Return sequence of tuples pairing bin label value and to its associated count.

    Definition Classes
    Histogram
  6. def bucketCount(): Int

    The number of buckets utilized by this FastMapHistogram.

    The number of buckets utilized by this FastMapHistogram.

    Definition Classes
    FastMapHistogramHistogram
  7. def cdf(): Array[(Double, Double)]

    CDF of the distribution.

    CDF of the distribution.

    Definition Classes
    FastMapHistogramHistogram
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def countItem(item: Int, count: Long): Unit

    For the value 'item', register the appearance of 'count' more instances of it.

    For the value 'item', register the appearance of 'count' more instances of it.

    Definition Classes
    FastMapHistogramMutableHistogram
  10. def countItem(item: Int): Unit

    Note the occurance of 'item'.

    Note the occurance of 'item'.

    Definition Classes
    MutableHistogram
  11. def countItemInt(item: Int, count: Long): Unit

    Note the occurance of 'item'.

    Note the occurance of 'item'.

    The optional parameter 'count' allows histograms to be built more efficiently. Negative counts can be used to remove a particular number of occurances of 'item'.

    Definition Classes
    MutableIntHistogramMutableHistogram
  12. def countItemInt(item: Int): Unit

    Note the occurance of 'item'.

    Note the occurance of 'item'.

    Definition Classes
    MutableHistogram
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def foreach(f: (Int, Long) ⇒ Unit): Unit

    Execute the given function on the value and count of each bucket in the histogram.

    Execute the given function on the value and count of each bucket in the histogram.

    Definition Classes
    IntHistogramHistogram
  17. def foreachValue(f: (Int) ⇒ Unit): Unit

    Execute the given function on each value seen by the histogram.

    Execute the given function on each value seen by the histogram.

    f

    A unit function of one integer parameter

    Definition Classes
    FastMapHistogramHistogram
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def itemCount(item: Int): Long

    The total number of items seen by this histogram.

    The total number of items seen by this histogram.

    Definition Classes
    FastMapHistogramHistogram
  22. def maxBucketCount(): Int

    The maximum number of buckets this histogram can hold.

    The maximum number of buckets this histogram can hold.

    Definition Classes
    FastMapHistogramHistogram
  23. def maxValue(): Option[Int]

    Returns the largest value seen by the histogram, if it has seen any values.

    Returns the largest value seen by the histogram, if it has seen any values.

    Definition Classes
    FastMapHistogramHistogram
  24. def mean(): Option[Double]

    Compute the mean of the distribution represented by the histogram.

    Compute the mean of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  25. def median(): Option[Int]

    Compute the median of the distribution represented by the histogram.

    Compute the median of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  26. def merge(histogram: Histogram[Int]): FastMapHistogram

    Return the sum of this histogram and the given one (the sum is the histogram that would result from seeing all of the values seen by the two antecedent histograms).

    Return the sum of this histogram and the given one (the sum is the histogram that would result from seeing all of the values seen by the two antecedent histograms).

    Definition Classes
    FastMapHistogramHistogram
  27. def minMaxValues(): Option[(Int, Int)]

    Return the smallest and largest values seen by the histogram, if it has seen any values.

    Return the smallest and largest values seen by the histogram, if it has seen any values.

    Definition Classes
    FastMapHistogramHistogram
  28. def minValue(): Option[Int]

    Returns the smallest value seen by the histogram, if it has seen any values.

    Returns the smallest value seen by the histogram, if it has seen any values.

    Definition Classes
    FastMapHistogramHistogram
  29. def mode(): Option[Int]

    Compute the mode of the distribution represented by the histogram.

    Compute the mode of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  30. def mutable(): FastMapHistogram

    Return a mutable copy of the present FastMapHistogram.

    Return a mutable copy of the present FastMapHistogram.

    Definition Classes
    FastMapHistogramHistogram
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def quantileBreaks(num: Int): Array[Int]

    Compute the quantile breaks of the histogram, where the latter are evenly spaced in 'num' increments starting at zero percent.

    Compute the quantile breaks of the histogram, where the latter are evenly spaced in 'num' increments starting at zero percent.

    Definition Classes
    MutableIntHistogramMutableHistogramHistogram
  35. def rawValues(): Array[Int]

    Return an integer array containing the values seen by this histogram.

    Return an integer array containing the values seen by this histogram.

    Definition Classes
    FastMapHistogramHistogram
  36. def setItem(item: Int, count: Long): Unit

    Adjust the histogram so that that it is as if the given value 'item' has been seen 'count' times.

    Adjust the histogram so that that it is as if the given value 'item' has been seen 'count' times.

    Definition Classes
    FastMapHistogramMutableHistogram
  37. def statistics(): Option[Statistics[Int]]

    Return a statistics object for the distribution represented by the histogram.

    Return a statistics object for the distribution represented by the histogram. Contains among other things: mean, mode, median, and so-forth.

    Definition Classes
    IntHistogramHistogram
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def totalCount(): Long

    Return the total number of occurrences for all items.

    Return the total number of occurrences for all items.

    Definition Classes
    FastMapHistogramHistogram
  41. def uncountItem(item: Int): Unit

    Forget any encounters with the value 'item'.

    Forget any encounters with the value 'item'.

    Definition Classes
    FastMapHistogramMutableHistogram
  42. def update(other: Histogram[Int]): Unit

    Update this histogram with the entries from the other one.

    Update this histogram with the entries from the other one.

    Definition Classes
    MutableIntHistogramMutableHistogram
  43. def values(): Array[Int]

    Return a sorted integer array of values seen by this histogram.

    Return a sorted integer array of values seen by this histogram.

    Definition Classes
    FastMapHistogramHistogram
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from MutableIntHistogram

Inherited from IntHistogram

Inherited from MutableHistogram[Int]

Inherited from Histogram[Int]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped