geotrellis.raster.histogram

MutableIntHistogram

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableIntHistogram()

Abstract Value Members

  1. abstract def bucketCount(): Int

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

    Return the number of occurrences for 'item'.

    Return the number of occurrences for 'item'.

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

    Return the largest item seen.

    Return the largest item seen.

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

    Return the smallest item seen.

    Return the smallest item seen.

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

    Return a mutable copy of this histogram.

    Return a mutable copy of this histogram.

    Definition Classes
    Histogram
  9. 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
  10. 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
  11. 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
  12. abstract def uncountItem(item: Int): Unit

    Forget all occurances of 'item'.

    Forget all occurances of 'item'.

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

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Note the occurance of 'item'.

    Note the occurance of 'item'.

    Definition Classes
    MutableHistogram
  9. 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
    MutableIntHistogramMutableHistogram
  10. def countItemInt(item: Int): Unit

    Note the occurance of 'item'.

    Note the occurance of 'item'.

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

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

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

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

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

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

    Definition Classes
    Any
  18. 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
    IntHistogramHistogram
  19. 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
    IntHistogramHistogram
  20. 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
  21. 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
    IntHistogramHistogram
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. 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
    MutableIntHistogramMutableHistogramHistogram
  26. 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
    IntHistogramHistogram
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. 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
    MutableIntHistogramMutableHistogram
  30. final def wait(): Unit

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

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

    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