Class

geotrellis.raster.histogram

MutableHistogram

Related Doc: package histogram

Permalink

abstract class MutableHistogram[T <: AnyVal] extends Histogram[T]

All mutable histograms are derived from this type.

Linear Supertypes
Histogram[T], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableHistogram
  2. Histogram
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableHistogram()

    Permalink

Abstract Value Members

  1. abstract def bucketCount(): Int

    Permalink

    The number of buckets utilized by this Histogram.

    The number of buckets utilized by this Histogram.

    Definition Classes
    Histogram
  2. abstract def cdf(): Array[(Double, Double)]

    Permalink

    CDF of the distribution.

    CDF of the distribution.

    Definition Classes
    Histogram
  3. abstract def countItem(item: T, count: Long): Unit

    Permalink

    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'.

  4. abstract def countItemInt(item: Int, count: Long): Unit

    Permalink

    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'.

  5. abstract def foreach(f: (T, Long) ⇒ Unit): Unit

    Permalink

    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
    Histogram
  6. abstract def foreachValue(f: (T) ⇒ Unit): Unit

    Permalink

    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
  7. abstract def itemCount(item: T): Long

    Permalink

    Return the number of occurrences for 'item'.

    Return the number of occurrences for 'item'.

    Definition Classes
    Histogram
  8. abstract def maxBucketCount(): Int

    Permalink

    Return the maximum number of buckets of this histogram.

    Return the maximum number of buckets of this histogram.

    Definition Classes
    Histogram
  9. abstract def maxValue(): Option[T]

    Permalink

    Return the largest item seen.

    Return the largest item seen.

    Definition Classes
    Histogram
  10. abstract def mean(): Option[Double]

    Permalink

    Compute the mean of the distribution represented by the histogram.

    Compute the mean of the distribution represented by the histogram.

    Definition Classes
    Histogram
  11. abstract def median(): Option[T]

    Permalink

    Compute the median of the distribution represented by the histogram.

    Compute the median of the distribution represented by the histogram.

    Definition Classes
    Histogram
  12. abstract def merge(histogram: Histogram[T]): Histogram[T]

    Permalink

    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
  13. abstract def minValue(): Option[T]

    Permalink

    Return the smallest item seen.

    Return the smallest item seen.

    Definition Classes
    Histogram
  14. abstract def mode(): Option[T]

    Permalink

    Compute the mode of the distribution represented by the histogram.

    Compute the mode of the distribution represented by the histogram.

    Definition Classes
    Histogram
  15. abstract def mutable(): MutableHistogram[T]

    Permalink

    Return a mutable copy of this histogram.

    Return a mutable copy of this histogram.

    Definition Classes
    Histogram
  16. abstract def quantileBreaks(num: Int): Array[T]

    Permalink

    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
    MutableHistogramHistogram
  17. abstract def rawValues(): Array[T]

    Permalink

    Return an array containing the values seen by this histogram.

    Return an array containing the values seen by this histogram.

    Definition Classes
    Histogram
  18. abstract def setItem(item: T, count: Long): Unit

    Permalink

    Sets the item to the given count.

  19. abstract def statistics(): Option[Statistics[T]]

    Permalink

    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
    Histogram
  20. abstract def totalCount(): Long

    Permalink

    Return the total number of occurrences for all items.

    Return the total number of occurrences for all items.

    Definition Classes
    Histogram
  21. abstract def uncountItem(item: T): Unit

    Permalink

    Forget all occurances of 'item'.

  22. abstract def update(other: Histogram[T]): Unit

    Permalink

    Update this histogram with the entries from the other one.

  23. abstract def values(): Array[T]

    Permalink

    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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def countItem(item: T): Unit

    Permalink

    Note the occurance of 'item'.

  7. def countItemInt(item: Int): Unit

    Permalink

    Note the occurance of 'item'.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def minMaxValues(): Option[(T, T)]

    Permalink

    Return the smallest and largest items seen as a tuple.

    Return the smallest and largest items seen as a tuple.

    Definition Classes
    Histogram
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Histogram[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped