geotrellis.statistics

FastMapHistogram

class FastMapHistogram extends Histogram

Linear Supertypes
Histogram, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. FastMapHistogram
  2. Histogram
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FastMapHistogram(_size: Int, _buckets: Array[Int], _used: 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def copy: FastMapHistogram

    Return a copy of this histogram.

    Return a copy of this histogram.

    Definition Classes
    FastMapHistogramHistogram
  9. def countItem(item: 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
    FastMapHistogramHistogram
  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def foreach(f: (Int, Int) ⇒ Unit): Unit

    Definition Classes
    Histogram
  14. def generateStatistics(): Statistics

    Definition Classes
    Histogram
  15. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  16. def getEvenQuantiles(num: Int): Array[Double]

    Return 'num' evenly spaced Doubles from 0.

    Return 'num' evenly spaced Doubles from 0.0 to 1.0.

    Definition Classes
    Histogram
  17. def getItemCount(item: Int): Int

    Return the number of occurances for 'item'.

    Return the number of occurances for 'item'.

    Definition Classes
    FastMapHistogramHistogram
  18. def getMaxValue: Int

    Return the largest item seen.

    Return the largest item seen.

    Definition Classes
    FastMapHistogramHistogram
  19. 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
    FastMapHistogramHistogram
  20. def getMinValue: Int

    Return the smallest item seen.

    Return the smallest item seen.

    Definition Classes
    FastMapHistogramHistogram
  21. def getQuantileBreaks(num: Int): Array[Int]

    Definition Classes
    Histogram
  22. def getTotalCount: Int

    Return the total number of occurances for all items.

    Return the total number of occurances for all items.

    Definition Classes
    FastMapHistogramHistogram
  23. def getValues: Array[Int]

    Definition Classes
    FastMapHistogramHistogram
  24. def hashCode(): Int

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

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def normalizeExtremeValues(num: Int, cutoff: Int): Histogram

    This is a heuristic used by getQuantileBreaks, which mutates the histogram.

    This is a heuristic used by getQuantileBreaks, which mutates the histogram.

    Definition Classes
    Histogram
  28. final def notify(): Unit

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

    Definition Classes
    AnyRef
  30. def setItem(item: Int, count: Int): Unit

    Definition Classes
    FastMapHistogramHistogram
  31. def splitBreakIndices(b: Int, q: Int): Array[Int]

    The basic idea here is to try to "evenly" split 'b' values across 'q' slots.

    The basic idea here is to try to "evenly" split 'b' values across 'q' slots. The goal is to drop or duplicate values as evenly as possible. Here are some examples:

    splitBreakIndices(1, 1) -> Array(0) splitBreakIndices(3, 5) -> Array(1,2,4) splitBreakIndices(4, 5) -> Array(0,1,3,4) splitBreakIndices(5, 5) -> Array(0,1,2,3,4) splitBreakIndices(7, 5) -> Array(0,1,1,2,3,3,4) splitBreakIndices(10,5) -> Array(0,0,1,1,2,2,3,3,4,4)

    Definition Classes
    Histogram
  32. def splitBreaks(breaks: Array[Int], q: Int): Array[Int]

    Take an existing array of class breaks (values that define the maximum for a particular class) and "stretch" them over a larger range.

    Take an existing array of class breaks (values that define the maximum for a particular class) and "stretch" them over a larger range. The idea is that a user might want 6 classes, but only 4 could be created. In these cases we will streth the 4 breaks into 6 (with some breaks being unused) to better map onto a users' preferred colors.

    Definition Classes
    Histogram
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toJSON: String

    Definition Classes
    Histogram
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. var total: Int

  37. def uncountItem(item: Int): Unit

    Forget all occurances of 'item'.

    Forget all occurances of 'item'.

    Definition Classes
    FastMapHistogramHistogram
  38. def update(other: Histogram): Unit

    Definition Classes
    Histogram
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Histogram

Inherited from AnyRef

Inherited from Any