class FastMapHistogram extends MutableIntHistogram
The FastMapHistogram class. Quickly compute histograms over integer data.
- Alphabetic
- By Inheritance
- FastMapHistogram
- MutableIntHistogram
- IntHistogram
- MutableHistogram
- Histogram
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
def
bucketCount(): Int
The number of buckets utilized by this FastMapHistogram.
The number of buckets utilized by this FastMapHistogram.
- Definition Classes
- FastMapHistogram → Histogram
-
def
cdf(): Array[(Double, Double)]
CDF of the distribution.
CDF of the distribution.
- Definition Classes
- FastMapHistogram → Histogram
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
- FastMapHistogram → MutableHistogram
-
def
countItem(item: Int): Unit
Note the occurance of 'item'.
Note the occurance of 'item'.
- Definition Classes
- MutableHistogram
-
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
- MutableIntHistogram → MutableHistogram
-
def
countItemInt(item: Int): Unit
Note the occurance of 'item'.
Note the occurance of 'item'.
- Definition Classes
- MutableHistogram
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
- IntHistogram → Histogram
-
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
- FastMapHistogram → Histogram
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- FastMapHistogram → Histogram
-
def
maxBucketCount(): Int
The maximum number of buckets this histogram can hold.
The maximum number of buckets this histogram can hold.
- Definition Classes
- FastMapHistogram → Histogram
-
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
- FastMapHistogram → Histogram
-
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
- IntHistogram → Histogram
-
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
- IntHistogram → Histogram
-
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
- FastMapHistogram → Histogram
-
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
- FastMapHistogram → Histogram
-
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
- FastMapHistogram → Histogram
-
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
- IntHistogram → Histogram
-
def
mutable(): FastMapHistogram
Return a mutable copy of the present FastMapHistogram.
Return a mutable copy of the present FastMapHistogram.
- Definition Classes
- FastMapHistogram → Histogram
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- MutableIntHistogram → MutableHistogram → Histogram
-
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
- FastMapHistogram → Histogram
-
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
- FastMapHistogram → MutableHistogram
-
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
- IntHistogram → Histogram
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
totalCount(): Long
Return the total number of occurrences for all items.
Return the total number of occurrences for all items.
- Definition Classes
- FastMapHistogram → Histogram
-
def
uncountItem(item: Int): Unit
Forget any encounters with the value 'item'.
Forget any encounters with the value 'item'.
- Definition Classes
- FastMapHistogram → MutableHistogram
-
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
- MutableIntHistogram → MutableHistogram
-
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
- FastMapHistogram → Histogram
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()