abstract class MutableIntHistogram extends MutableHistogram[Int] with IntHistogram
All mutable integer histograms are derived from this class.
- Alphabetic
- By Inheritance
- MutableIntHistogram
- IntHistogram
- MutableHistogram
- Histogram
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MutableIntHistogram()
Abstract Value Members
-
abstract
def
bucketCount(): Int
The number of buckets utilized by this Histogram.
-
abstract
def
cdf(): Array[(Double, Double)]
CDF of the distribution.
CDF of the distribution.
- Definition Classes
- Histogram
-
abstract
def
countItem(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
- MutableHistogram
-
abstract
def
foreachValue(f: (Int) ⇒ Unit): Unit
Execute the given function on the value of each bucket in the histogram.
Execute the given function on the value of each bucket in the histogram.
- f
A unit function of one parameter
- Definition Classes
- Histogram
-
abstract
def
itemCount(item: Int): Long
Return the number of occurrences for 'item'.
Return the number of occurrences for 'item'.
- Definition Classes
- Histogram
-
abstract
def
maxBucketCount(): Int
Return the maximum number of buckets of this histogram.
Return the maximum number of buckets of this histogram.
- Definition Classes
- Histogram
-
abstract
def
maxValue(): Option[Int]
Return the largest item seen.
Return the largest item seen.
- Definition Classes
- Histogram
-
abstract
def
merge(histogram: Histogram[Int]): Histogram[Int]
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
- Histogram
-
abstract
def
minValue(): Option[Int]
Return the smallest item seen.
Return the smallest item seen.
- Definition Classes
- Histogram
-
abstract
def
mutable(): MutableHistogram[Int]
Return a mutable copy of this histogram.
Return a mutable copy of this histogram.
- Definition Classes
- Histogram
-
abstract
def
rawValues(): Array[Int]
Return an array containing the values seen by this histogram.
Return an array containing the values seen by this histogram.
- Definition Classes
- Histogram
-
abstract
def
setItem(item: Int, count: Long): Unit
Sets the item to the given count.
Sets the item to the given count.
- Definition Classes
- MutableHistogram
-
abstract
def
totalCount(): Long
Return the total number of occurrences for all items.
Return the total number of occurrences for all items.
- Definition Classes
- Histogram
-
abstract
def
uncountItem(item: Int): Unit
Forget all occurances of 'item'.
Forget all occurances of 'item'.
- Definition Classes
- MutableHistogram
-
abstract
def
values(): Array[Int]
Return a sorted array of values seen by this histogram.
Return a sorted array of values seen by this histogram.
- Definition Classes
- Histogram
Concrete 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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
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
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
minMaxValues(): Option[(Int, Int)]
Return the smallest and largest items seen as a tuple.
Return the smallest and largest items seen as a tuple.
- Definition Classes
- 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
-
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
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
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
-
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()