geotrellis.statistics

CompressedArrayHistogram

class CompressedArrayHistogram extends ArrayHistogram

Data object representing a histogram using an array for internal storage, which requires an initial minimum and maximum val and a specified number of 'breaks' which are used to group values together into ranges.

Note

CompressedArrayHistogram can currently only handle non-negative integers.

Linear Supertypes
ArrayHistogram, MutableHistogram, Histogram, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CompressedArrayHistogram
  2. ArrayHistogram
  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 CompressedArrayHistogram(counts: Array[Int], total: Int, vmin: Int, vmax: Int)

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. final def compress(i: Int): Int

  9. def countItem(i: Int, count: Int = 1): 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
    CompressedArrayHistogramArrayHistogramMutableHistogram
  10. final def decompress(i: Int): Int

  11. val divisor: Int

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def foreach(f: (Int, Int) ⇒ Unit): Unit

    Definition Classes
    Histogram
  16. def foreachValue(f: (Int) ⇒ Unit): Unit

  17. def generateStatistics(): Statistics

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

    Definition Classes
    AnyRef → Any
  19. def getItemCount(i: Int): Int

    Return the number of occurances for 'item'.

    Return the number of occurances for 'item'.

    Definition Classes
    CompressedArrayHistogramArrayHistogramHistogram
  20. def getMaxValue(): Int

    Return the largest item seen.

    Return the largest item seen.

    Definition Classes
    CompressedArrayHistogramArrayHistogramHistogram
  21. def getMean(): Double

    Definition Classes
    Histogram
  22. def getMedian(): Int

    Definition Classes
    Histogram
  23. def getMinMaxValues(): (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
  24. def getMinValue(): Int

    Return the smallest item seen.

    Return the smallest item seen.

    Definition Classes
    CompressedArrayHistogramArrayHistogramHistogram
  25. def getMode(): Int

    Definition Classes
    Histogram
  26. def getQuantileBreaks(num: Int): Array[Int]

    Definition Classes
    MutableHistogramHistogram
  27. def getTotalCount(): Int

    Return the total number of occurances for all items.

    Return the total number of occurances for all items.

    Definition Classes
    ArrayHistogramHistogram
  28. def getValues(): Array[Int]

  29. def hashCode(): Int

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

    Definition Classes
    Any
  31. def mutable(): CompressedArrayHistogram

    Return a mutable copy of this histogram.

    Return a mutable copy of this histogram.

    Definition Classes
    CompressedArrayHistogramArrayHistogramHistogram
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. def rawValues(): Array[Int]

  36. def setItem(i: Int, count: Int): Unit

    Sets the item to the given count.

    Sets the item to the given count.

    Definition Classes
    CompressedArrayHistogramArrayHistogramMutableHistogram
  37. def size: Int

    Definition Classes
    ArrayHistogram
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toJSON: String

    Definition Classes
    Histogram
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def uncountItem(i: Int): Unit

    Forget all occurances of 'item'.

    Forget all occurances of 'item'.

    Definition Classes
    CompressedArrayHistogramArrayHistogramMutableHistogram
  42. def update(other: Histogram): Unit

    Definition Classes
    MutableHistogram
  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ArrayHistogram

Inherited from MutableHistogram

Inherited from Histogram

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped