Class

geotrellis.raster.histogram

MutableIntHistogram

Related Doc: package histogram

Permalink

abstract class MutableIntHistogram extends MutableHistogram[Int] with IntHistogram

All mutable integer histograms are derived from this class.

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

Instance Constructors

  1. new MutableIntHistogram()

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

    Definition Classes
    MutableHistogram
  4. abstract def foreachValue(f: (Int) ⇒ 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
  5. abstract def itemCount(item: Int): Long

    Permalink

    Return the number of occurrences for 'item'.

    Return the number of occurrences for 'item'.

    Definition Classes
    Histogram
  6. 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
  7. abstract def maxValue(): Option[Int]

    Permalink

    Return the largest item seen.

    Return the largest item seen.

    Definition Classes
    Histogram
  8. abstract def merge(histogram: Histogram[Int]): Histogram[Int]

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

    Permalink

    Return the smallest item seen.

    Return the smallest item seen.

    Definition Classes
    Histogram
  10. abstract def mutable(): MutableHistogram[Int]

    Permalink

    Return a mutable copy of this histogram.

    Return a mutable copy of this histogram.

    Definition Classes
    Histogram
  11. abstract def rawValues(): Array[Int]

    Permalink

    Return an array containing the values seen by this histogram.

    Return an array containing the values seen by this histogram.

    Definition Classes
    Histogram
  12. abstract def setItem(item: Int, count: Long): Unit

    Permalink

    Sets the item to the given count.

    Sets the item to the given count.

    Definition Classes
    MutableHistogram
  13. 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
  14. abstract def uncountItem(item: Int): Unit

    Permalink

    Forget all occurances of 'item'.

    Forget all occurances of 'item'.

    Definition Classes
    MutableHistogram
  15. abstract def values(): Array[Int]

    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 binCounts(): Seq[(Int, Long)]

    Permalink

    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 clone(): AnyRef

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

    Permalink

    Note the occurance of 'item'.

    Note the occurance of 'item'.

    Definition Classes
    MutableHistogram
  8. 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'.

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

    Permalink

    Note the occurance of 'item'.

    Note the occurance of 'item'.

    Definition Classes
    MutableHistogram
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def foreach(f: (Int, 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
    IntHistogramHistogram
  14. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  17. 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
    IntHistogramHistogram
  18. def median(): Option[Int]

    Permalink

    Compute the median of the distribution represented by the histogram.

    Compute the median of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  19. def minMaxValues(): Option[(Int, Int)]

    Permalink

    Return the smallest and largest items seen as a tuple.

    Return the smallest and largest items seen as a tuple.

    Definition Classes
    Histogram
  20. def mode(): Option[Int]

    Permalink

    Compute the mode of the distribution represented by the histogram.

    Compute the mode of the distribution represented by the histogram.

    Definition Classes
    IntHistogramHistogram
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def quantileBreaks(num: Int): Array[Int]

    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
    MutableIntHistogramMutableHistogramHistogram
  25. def statistics(): Option[Statistics[Int]]

    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
    IntHistogramHistogram
  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def update(other: Histogram[Int]): Unit

    Permalink

    Update this histogram with the entries from the other one.

    Update this histogram with the entries from the other one.

    Definition Classes
    MutableIntHistogramMutableHistogram
  29. final def wait(): Unit

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

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

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

Inherited from IntHistogram

Inherited from MutableHistogram[Int]

Inherited from Histogram[Int]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped