Packages

t

algo.data.fenwick.mutable

SemigroupFenwickTreeOps

trait SemigroupFenwickTreeOps[K, V, +Collection <: SemigroupFenwickTreeOps[K, V, Collection]] extends fenwick.SemigroupFenwickTreeOps[K, V, Collection]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemigroupFenwickTreeOps
  2. SemigroupFenwickTreeOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def combine(index: K, value: V): SemigroupFenwickTreeOps.this.type

    Updates the element at the given index to the given value

    Updates the element at the given index to the given value

    Exceptions thrown

    java.lang.IndexOutOfBoundsException if index is less than zero or greater than or equal to size

    Note

    Time Complexity: O(log N)

  2. abstract def reduceTo(to: K): V

    Reduces elements in the given range [zero, to]

    Reduces elements in the given range [zero, to]

    Definition Classes
    SemigroupFenwickTreeOps
    Exceptions thrown

    java.lang.IndexOutOfBoundsException if to is less than zero or greater than or equal to size

    Note

    Time Complexity: O(log N)

  3. abstract def reduceUntil(until: K): V

    Reduces elements in the given range [zero, until)

    Reduces elements in the given range [zero, until)

    Definition Classes
    SemigroupFenwickTreeOps
    Exceptions thrown

    java.lang.IndexOutOfBoundsException if until is less than zero or greater than size

    Note

    Time Complexity: O(log N)

  4. implicit abstract def semigroup: CommutativeSemigroup[V]
    Definition Classes
    SemigroupFenwickTreeOps
  5. abstract def size: K

    Returns the size of this tree

    Returns the size of this tree

    Definition Classes
    SemigroupFenwickTreeOps
    Note

    Time Complexity: O(1)

  6. abstract def zero: K

    Returns the zero

    Returns the zero

    Definition Classes
    SemigroupFenwickTreeOps
    Note

    Time Complexity: O(1)

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): Collection
    Definition Classes
    SemigroupFenwickTreeOps → AnyRef
  6. def combined(index: K, value: V): Collection

    Updates the element at the given index to the given value

    Updates the element at the given index to the given value

    Definition Classes
    SemigroupFenwickTreeOpsSemigroupFenwickTreeOps
    Exceptions thrown

    java.lang.IndexOutOfBoundsException if index is less than zero or greater than or equal to size

    Note

    Time Complexity: O(log N)

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from fenwick.SemigroupFenwickTreeOps[K, V, Collection]

Inherited from AnyRef

Inherited from Any

Ungrouped