Class/Object

geotrellis.raster.histogram

FastMapHistogram

Related Docs: object FastMapHistogram | package histogram

Permalink

class FastMapHistogram extends MutableIntHistogram

The FastMapHistogram class. Quickly compute histograms over integer data.

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

Instance Constructors

  1. new FastMapHistogram(_size: Int, _buckets: Array[Int], _counts: Array[Long], _used: Int, _total: Long)

    Permalink

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 bucketCount(): Int

    Permalink

    The number of buckets utilized by this FastMapHistogram.

    The number of buckets utilized by this FastMapHistogram.

    Definition Classes
    FastMapHistogramHistogram
  7. def cdf(): Array[(Double, Double)]

    Permalink

    CDF of the distribution.

    CDF of the distribution.

    Definition Classes
    FastMapHistogramHistogram
  8. def clone(): AnyRef

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

    Permalink

    For the value 'item', register the appearance of 'count' more instances of it.

    For the value 'item', register the appearance of 'count' more instances of it.

    Definition Classes
    FastMapHistogramMutableHistogram
  10. def countItem(item: Int): Unit

    Permalink

    Note the occurance of 'item'.

    Note the occurance of 'item'.

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

    Permalink

    Note the occurance of 'item'.

    Note the occurance of 'item'.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. 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
  17. def foreachValue(f: (Int) ⇒ Unit): Unit

    Permalink

    Execute the given function on each value seen by the histogram.

    Execute the given function on each value seen by the histogram.

    f

    A unit function of one integer parameter

    Definition Classes
    FastMapHistogramHistogram
  18. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  21. def itemCount(item: Int): Long

    Permalink

    The total number of items seen by this histogram.

    The total number of items seen by this histogram.

    Definition Classes
    FastMapHistogramHistogram
  22. def maxBucketCount(): Int

    Permalink

    The maximum number of buckets this histogram can hold.

    The maximum number of buckets this histogram can hold.

    Definition Classes
    FastMapHistogramHistogram
  23. def maxValue(): Option[Int]

    Permalink

    Returns the largest value seen by the histogram, if it has seen any values.

    Returns the largest value seen by the histogram, if it has seen any values.

    Definition Classes
    FastMapHistogramHistogram
  24. 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
  25. 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
  26. 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
    FastMapHistogramHistogram
  27. def minMaxValues(): Option[(Int, Int)]

    Permalink

    Return the smallest and largest values seen by the histogram, if it has seen any values.

    Return the smallest and largest values seen by the histogram, if it has seen any values.

    Definition Classes
    FastMapHistogramHistogram
  28. def minValue(): Option[Int]

    Permalink

    Returns the smallest value seen by the histogram, if it has seen any values.

    Returns the smallest value seen by the histogram, if it has seen any values.

    Definition Classes
    FastMapHistogramHistogram
  29. 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
  30. def mutable(): FastMapHistogram

    Permalink

    Return a mutable copy of the present FastMapHistogram.

    Return a mutable copy of the present FastMapHistogram.

    Definition Classes
    FastMapHistogramHistogram
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. 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
  35. def rawValues(): Array[Int]

    Permalink

    Return an integer array containing the values seen by this histogram.

    Return an integer array containing the values seen by this histogram.

    Definition Classes
    FastMapHistogramHistogram
  36. def setItem(item: Int, count: Long): Unit

    Permalink

    Adjust the histogram so that that it is as if the given value 'item' has been seen 'count' times.

    Adjust the histogram so that that it is as if the given value 'item' has been seen 'count' times.

    Definition Classes
    FastMapHistogramMutableHistogram
  37. 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
  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. def totalCount(): Long

    Permalink

    Return the total number of occurrences for all items.

    Return the total number of occurrences for all items.

    Definition Classes
    FastMapHistogramHistogram
  41. def uncountItem(item: Int): Unit

    Permalink

    Forget any encounters with the value 'item'.

    Forget any encounters with the value 'item'.

    Definition Classes
    FastMapHistogramMutableHistogram
  42. 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
  43. def values(): Array[Int]

    Permalink

    Return a sorted integer array of values seen by this histogram.

    Return a sorted integer array of values seen by this histogram.

    Definition Classes
    FastMapHistogramHistogram
  44. final def wait(): Unit

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

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

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

Inherited from MutableIntHistogram

Inherited from IntHistogram

Inherited from MutableHistogram[Int]

Inherited from Histogram[Int]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped