cc.factorie.util

SortedSparseCounts

class SortedSparseCounts extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SortedSparseCounts
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SortedSparseCounts(dim: Int, initial: Array[Int])

  2. new SortedSparseCounts(dim: Int, initial: Array[Int], keepDense: Boolean)

    Initialize counts from an unsorted list of indices

  3. new SortedSparseCounts(dim: Int, capacity: Int = 2, keepTrimmed: Boolean = false)

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. val _length: Int

  7. def activeIndices: TruncatedArrayIntSeq

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def bubbleDownFrom(pos: Int, otherPos: Int): Int

    Attributes
    protected
  10. def bubbleDownFrom(pos: Int): Unit

    Attributes
    protected
  11. def bubbleUpFrom(pos: Int, otherPos: Int): Int

    Attributes
    protected
  12. def bubbleUpFrom(pos: Int): Unit

    Attributes
    protected
  13. def calculatedCountsTotal: Int

  14. def check: Boolean

    Return false if there is internal inconsistency

  15. def clear(): Unit

  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def copyBuffer(srcCounts: SortedSparseCounts): Unit

  18. def countAtPosition(pos: Int): Int

  19. def countOfIndex(index: Int): Int

  20. def counts: Iterable[(Int, Int)]

  21. def countsTotal: Int

  22. def deletePosition(pos: Int): Unit

  23. def ensureCapacity(cap: Int): Unit

    Attributes
    protected
  24. final def eq(arg0: AnyRef): Boolean

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

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

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

  28. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  30. def incrementCountAtIndex(index: Int, incr: Int): Unit

  31. def incrementCountAtPosition(pos: Int, incr: Int): Unit

  32. def incrementCountsAtPositions(pos1: Int, incr1: Int, pos2: Int, incr2: Int): Unit

  33. def indexAtPosition(pos: Int): Int

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. val keepTrimmed: Boolean

  36. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  39. def numPositions: Int

  40. def positionOfIndex(index: Int): Int

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

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. def trim(): Unit

  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped