geotrellis.statistics

ArrayHistogram

class ArrayHistogram extends MutableHistogram

Data object representing a histogram that uses an array for internal storage.

Linear Supertypes
MutableHistogram, Histogram, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ArrayHistogram
  2. MutableHistogram
  3. Histogram
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArrayHistogram(counts: Array[Int], total: 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. 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
    ArrayHistogramMutableHistogram
  9. val counts: Array[Int]

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

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

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

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

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

    Definition Classes
    ArrayHistogramHistogram
  15. def generateStatistics(): Statistics

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

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

    Return the number of occurances for 'item'.

    Return the number of occurances for 'item'.

    Definition Classes
    ArrayHistogramHistogram
  18. def getMaxValue(): Int

    Return the largest item seen.

    Return the largest item seen.

    Definition Classes
    ArrayHistogramHistogram
  19. def getMean(): Double

    Definition Classes
    Histogram
  20. def getMedian(): Int

    Definition Classes
    Histogram
  21. 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
  22. def getMinValue(): Int

    Return the smallest item seen.

    Return the smallest item seen.

    Definition Classes
    ArrayHistogramHistogram
  23. def getMode(): Int

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

    Definition Classes
    MutableHistogramHistogram
  25. def getTotalCount(): Int

    Return the total number of occurances for all items.

    Return the total number of occurances for all items.

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

    Definition Classes
    ArrayHistogramHistogram
  27. def hashCode(): Int

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

    Definition Classes
    Any
  29. def mutable(): ArrayHistogram

    Return a mutable copy of this histogram.

    Return a mutable copy of this histogram.

    Definition Classes
    ArrayHistogramHistogram
  30. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    ArrayHistogramHistogram
  34. def setItem(i: Int, count: Int): Unit

    Sets the item to the given count.

    Sets the item to the given count.

    Definition Classes
    ArrayHistogramMutableHistogram
  35. def size: Int

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toJSON: String

    Definition Classes
    Histogram
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. var total: Int

  40. def uncountItem(i: Int): Unit

    Forget all occurances of 'item'.

    Forget all occurances of 'item'.

    Definition Classes
    ArrayHistogramMutableHistogram
  41. def update(other: Histogram): Unit

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MutableHistogram

Inherited from Histogram

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped