org.isarnproject.collections.mixmaps.prefixsum.tree

INodePS

trait INodePS[K, V, P] extends NodePS[K, V, P] with INodeMap[K, V]

Internal node for R/B nodes supporting prefix-sum query

Linear Supertypes
INodeMap[K, V], INode[K], NodePS[K, V, P], NodeMap[K, V], Node[K], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. INodePS
  2. INodeMap
  3. INode
  4. NodePS
  5. NodeMap
  6. Node
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def color: Color

    The Red/Black color of this node

    The Red/Black color of this node

    Definition Classes
    INode
  2. abstract def data: DataMap[K, V]

    Including, but not limited to, the key

    Including, but not limited to, the key

    Definition Classes
    INodeMapINode
  3. abstract def iNode(color: Color, d: Data[K], lsub: Node[K], rsub: Node[K]): INode[K]

    Instantiate an internal node.

    Instantiate an internal node.

    Attributes
    protected
    Definition Classes
    Node
  4. abstract def keyOrdering: Ordering[K]

    The ordering that is applied to key values

    The ordering that is applied to key values

    Definition Classes
    Node
  5. abstract def lsub: NodePS[K, V, P]

    The left sub-tree

    The left sub-tree

    Definition Classes
    INodePSINode
  6. abstract def prefix: P

  7. abstract def prefixAggregator: AggregatorAPI[P, V]

    Aggregator that defines semantics of prefix sum

    Aggregator that defines semantics of prefix sum

    Definition Classes
    NodePS
  8. abstract def rsub: NodePS[K, V, P]

    The right sub-tree

    The right sub-tree

    Definition Classes
    INodePSINode

Concrete 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 append(tl: Node[K], tr: Node[K]): Node[K]

    Attributes
    protected
    Definition Classes
    Node
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. final def bNode(d: Data[K], lsub: Node[K], rsub: Node[K]): INode[K]

    create a new Black node from a key, value, left subtree and right subtree

    create a new Black node from a key, value, left subtree and right subtree

    Attributes
    protected
    Definition Classes
    Node
  9. final def balance(node: Node[K]): Node[K]

    Attributes
    protected
    Definition Classes
    Node
  10. final def balanceDel(x: Data[K], tl: Node[K], tr: Node[K]): INode[K]

    Attributes
    protected
    Definition Classes
    Node
  11. final def balanceLeft(x: Data[K], tl: Node[K], tr: Node[K]): INode[K]

    Attributes
    protected
    Definition Classes
    Node
  12. final def balanceRight(x: Data[K], tl: Node[K], tr: Node[K]): INode[K]

    Attributes
    protected
    Definition Classes
    Node
  13. final def blacken(node: Node[K]): Node[K]

    Attributes
    protected
    Definition Classes
    Node
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def del(k: K): Node[K]

    Definition Classes
    INodeNode
  16. final def delLeft(node: INode[K], k: K): INode[K]

    Attributes
    protected
    Definition Classes
    Node
  17. final def delRight(node: INode[K], k: K): INode[K]

    Attributes
    protected
    Definition Classes
    Node
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  23. final def ins(d: Data[K]): Node[K]

    Definition Classes
    INodeNode
  24. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  26. final def node(k: K): Option[INode[K]]

    Obtain the node stored at a given key if it exists, None otherwise

    Obtain the node stored at a given key if it exists, None otherwise

    Definition Classes
    INodeNode
  27. final def nodeMax: Option[INode[K]]

    Definition Classes
    INodeNode
  28. final def nodeMin: Option[INode[K]]

    Definition Classes
    INodeNode
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. final def pfSum(k: K, sum: P, open: Boolean): P

    Definition Classes
    INodePSNodePS
  32. final def pfs: P

    Definition Classes
    INodePSNodePS
  33. final def prefixSum(k: K, open: Boolean = false): P

    Obtain the prefix (cumulative) sum of values <= a given key 'k'.

    Obtain the prefix (cumulative) sum of values <= a given key 'k'. If 'open' is true, sums the open interval for keys strictly < k. If 'k' is not present in the map, then the sum for keys < k is returned.

    Definition Classes
    NodePS
  34. final def rNode(d: Data[K], lsub: Node[K], rsub: Node[K]): INode[K]

    create a new Red node from a key, value, left subtree and right subtree

    create a new Red node from a key, value, left subtree and right subtree

    Attributes
    protected
    Definition Classes
    Node
  35. final def redden(node: Node[K]): Node[K]

    Attributes
    protected
    Definition Classes
    Node
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from INodeMap[K, V]

Inherited from INode[K]

Inherited from NodePS[K, V, P]

Inherited from NodeMap[K, V]

Inherited from Node[K]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped