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 countItem(item: Int, count: Int = 1): 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
  3. 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
  4. abstract def itemCount(item: Int): Int

    Permalink

    Return the number of occurrences for 'item'.

    Return the number of occurrences for 'item'.

    Definition Classes
    Histogram
  5. abstract def maxValue(): Option[Int]

    Permalink

    Return the largest item seen.

    Return the largest item seen.

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

    Permalink

    Return the smallest item seen.

    Return the smallest item seen.

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

    Permalink

    Return a mutable copy of this histogram.

    Return a mutable copy of this histogram.

    Definition Classes
    Histogram
  9. 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
  10. abstract def setItem(item: Int, count: Int): Unit

    Permalink

    Sets the item to the given count.

    Sets the item to the given count.

    Definition Classes
    MutableHistogram
  11. abstract def totalCount(): Int

    Permalink

    Return the total number of occurrences for all items.

    Return the total number of occurrences for all items.

    Definition Classes
    Histogram
  12. abstract def uncountItem(item: Int): Unit

    Permalink

    Forget all occurances of 'item'.

    Forget all occurances of 'item'.

    Definition Classes
    MutableHistogram
  13. 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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def countItemInt(item: Int, count: Int = 1): 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
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def foreach(f: (Int, Int) ⇒ 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
  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 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
  15. 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
  16. 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
  17. 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
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. 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
  22. 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
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. 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
  26. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. 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