de.sciss.collection.txn

DeterministicSkipOctree

sealed trait DeterministicSkipOctree[S <: Sys[S], D <: Space[D], A] extends SkipOctree[S, D, A]

Self Type
DeterministicSkipOctree[S, D, A]
Linear Supertypes
SkipOctree[S, D, A], Disposable[Tx], Writer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DeterministicSkipOctree
  2. SkipOctree
  3. Disposable
  4. Writer
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Branch extends Child

  2. sealed trait BranchLike extends NonEmpty with Writer with Branch

    Nodes are defined by a hyperCube area as well as a list of children, as well as a pointer next to the corresponding node in the next highest tree.

  3. sealed trait Child extends AnyRef

  4. sealed trait ChildBranch extends BranchLike with NonEmptyChild

    Utility trait which elements the rightward search findPN.

  5. final type ChildOption = Child with Writer

    Attributes
    protected
  6. sealed trait Empty extends Child

  7. sealed trait Leaf extends Child

  8. final class LeafImpl extends LeftNonEmptyChild with RightNonEmptyChild with LeafOrEmpty with Leaf

    A leaf in the octree, carrying a map entry in the form of a point and associated value.

  9. sealed trait LeafOrEmpty extends LeftChild

    Attributes
    protected
  10. sealed trait Left extends AnyRef

    Attributes
    protected
  11. sealed trait LeftBranch extends BranchLike with LeftNonEmpty with Writer

    A left tree node implementation provides more specialized child nodes of type LeftChild.

  12. sealed trait LeftChild extends Left with Child

    Attributes
    protected
  13. type LeftChildOption = LeftChild with Writer

    Attributes
    protected
  14. sealed trait LeftNonEmpty extends Left with NonEmpty

    A tree element in Q0 has markers for the in-order traversal.

  15. sealed trait LeftNonEmptyChild extends LeftNonEmpty with NonEmptyChild with LeftChild with Writer

    A common trait used in pattern matching, comprised of Leaf and LeftChildBranch.

  16. final class LeftTopBranch extends LeftBranch with TopBranch with Writer

    Attributes
    protected
  17. sealed trait Next extends AnyRef

    Attributes
    protected
  18. final type NextOption = Next with Writer

    Attributes
    protected
  19. sealed trait NonEmpty extends AnyRef

    A node is an object that can be stored in a orthant of a branch.

  20. sealed trait NonEmptyChild extends NonEmpty with Child

    An inner non empty tree element has a mutable parent node.

  21. sealed trait RightBranch extends Next with BranchLike with Writer

    A right tree node implementation provides more specialized child nodes of type RightChild.

  22. sealed trait RightChild extends Child

    Attributes
    protected
  23. type RightChildOption = RightChild with Writer

    Attributes
    protected
  24. sealed trait RightNonEmptyChild extends RightChild with NonEmptyChild with Writer

    A common trait used in pattern matching, comprised of Leaf and RightChildBranch.

  25. final class RightTopBranch extends RightBranch with TopBranch

    Attributes
    protected
  26. sealed trait TopBranch extends BranchLike with Writer

    Attributes
    protected

Abstract Value Members

  1. abstract def head: LeftTopBranch

    Attributes
    protected
  2. abstract def hyperCube: HyperCube

    Definition Classes
    SkipOctree
  3. implicit abstract def hyperSerializer: TxnSerializer[Tx, Acc, HyperCube]

  4. abstract def id: ID

    Definition Classes
    SkipOctree
  5. implicit abstract def keySerializer: TxnSerializer[Tx, Acc, A]

  6. abstract def lastTreeRef: Var[TopBranch]

    Attributes
    protected
  7. abstract def pointView: (A, Tx) ⇒ PointLike

    Definition Classes
    SkipOctree
  8. abstract def skipList: HASkipList[S, LeafImpl]

    Attributes
    protected
  9. implicit abstract def space: D

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  10. abstract def totalOrder: Set[S]

    Attributes
    protected

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 +=(elem: A)(implicit tx: Tx): DeterministicSkipOctree.this.type

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  5. final def -=(elem: A)(implicit tx: Tx): DeterministicSkipOctree.this.type

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. implicit object BranchSerializer extends TxnSerializer[Tx, Acc, BranchLike]

    Attributes
    protected
  9. object EmptyValue extends LeftChild with RightChild with Next with LeafOrEmpty with Empty with Writer with Product with Serializable

  10. implicit object KeyObserver extends KeyObserver[Tx, LeafImpl]

    Attributes
    protected
  11. implicit object LeafOrdering extends Ordering[Tx, LeafImpl]

    Attributes
    protected
  12. implicit object LeafSerializer extends TxnSerializer[Tx, Acc, LeafImpl]

    Attributes
    protected
  13. implicit object LeftBranchSerializer extends TxnSerializer[Tx, Acc, LeftBranch]

    Attributes
    protected
  14. implicit object LeftChildOptionSerializer extends TxnSerializer[Tx, Acc, LeftChildOption]

    Attributes
    protected
  15. implicit object LeftTopBranchSerializer extends TxnSerializer[Tx, Acc, LeftTopBranch]

    Attributes
    protected
  16. implicit object RightBranchSerializer extends TxnSerializer[Tx, Acc, RightBranch]

    Attributes
    protected
  17. implicit object RightChildOptionSerializer extends TxnSerializer[Tx, Acc, RightChildOption]

    Attributes
    protected
  18. implicit object RightOptionReader extends TxnSerializer[Tx, Acc, NextOption]

    Attributes
    protected
  19. implicit object TopBranchSerializer extends TxnSerializer[Tx, Acc, TopBranch]

    Attributes
    protected
  20. final def add(elem: A)(implicit tx: Tx): Boolean

    Adds an element to the tree (or replaces a given element with the same point location).

    Adds an element to the tree (or replaces a given element with the same point location).

    elem

    the element to add

    returns

    true if the element is new in the tree. If a previous entry with the same point view is overwritten, this is true if the elements were not equal, false if they were equal

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  21. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  22. final def clear()(implicit tx: Tx): Unit

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  23. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. final def contains(elem: A)(implicit tx: Tx): Boolean

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  25. final def dispose()(implicit tx: Tx): Unit

    Definition Classes
    DeterministicSkipOctree → Disposable
  26. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def get(point: PointLike)(implicit tx: Tx): Option[A]

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  30. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  32. final def headTree: Branch

  33. final def isDefinedAt(point: PointLike)(implicit tx: Tx): Boolean

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  34. final def isEmpty(implicit tx: Tx): Boolean

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. final def iterator(implicit tx: Tx): Iterator[Tx, A]

    An Iterator which iterates over the points stored in the octree, using an in-order traversal directed by the orthant indices of the nodes of the tree.

    An Iterator which iterates over the points stored in the octree, using an in-order traversal directed by the orthant indices of the nodes of the tree.

    Great care has to be taken as the iterator might be corrupted if the tree is successively changed before the iterator is exhausted.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  37. final def lastTree(implicit tx: Tx): Branch

  38. final def lastTreeImpl(implicit tx: Tx): TopBranch

  39. final def lastTreeImpl_=(node: TopBranch)(implicit tx: Tx): Unit

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

    Definition Classes
    AnyRef
  41. final def nearestNeighbor[M](point: PointLike, metric: DistanceMeasure[M, D])(implicit tx: Tx): A

    Reports the nearest neighbor entry with respect to a given point.

    Reports the nearest neighbor entry with respect to a given point.

    Note: There is a potential numeric overflow if the squared distance of the query point towards the furthest corner of the tree's root hyper-cube exceeds 63 bits. For a root Square( 0x40000000, 0x40000000, 0x40000000 ), this happens for example for any point going more towards north-west than Point2DLike( -1572067139, -1572067139 ).

    point

    the point of which the nearest neighbor is to be found

    metric

    (description missing)

    Definition Classes
    DeterministicSkipOctreeSkipOctree
    Exceptions thrown
    NoSuchElementException

    if the tree is empty

  42. final def nearestNeighborOption[M](point: PointLike, metric: DistanceMeasure[M, D])(implicit tx: Tx): Option[A]

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  43. final def notify(): Unit

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

    Definition Classes
    AnyRef
  45. final def numLevels(implicit tx: Tx): Int

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  46. final def numOrthants: Int

    The number of orthants in each hyperCube.

    The number of orthants in each hyperCube. This is equal to 1 << numDimensions and gives the upper bound of the index to QNode.child().

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  47. final def rangeQuery[Area](qs: QueryShape[Area, D])(implicit tx: Tx): Iterator[Tx, A]

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  48. final def remove(elem: A)(implicit tx: Tx): Boolean

    Removes an element from the tree

    Removes an element from the tree

    elem

    the element to remove

    returns

    true if the element had been found in the tree and thus been removed.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  49. final def removeAt(point: PointLike)(implicit tx: Tx): Option[A]

    Removes the element stored under a given point view.

    Removes the element stored under a given point view.

    point

    the location of the element to remove

    returns

    the element removed, wrapped as Some, or None if no element was found for the given point.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  50. final def size(implicit tx: Tx): Int

    Queries the number of leaves in the tree.

    Queries the number of leaves in the tree. This may be a very costly action, so it is recommended to only use it for debugging purposes.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. final def toIndexedSeq(implicit tx: Tx): IndexedSeq[A]

    Converts the tree into a linearized indexed sequence.

    Converts the tree into a linearized indexed sequence. This is not necessarily a very efficient method, and should usually just be used for debugging.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  53. final def toList(implicit tx: Tx): List[A]

    Converts the tree into a linearized list.

    Converts the tree into a linearized list. This is not necessarily a very efficient method, and should usually just be used for debugging.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  54. final def toSeq(implicit tx: Tx): Seq[A]

    Converts the tree into a linearized sequence.

    Converts the tree into a linearized sequence. This is not necessarily a very efficient method, and should usually just be used for debugging. To avoid surprises, this does not call iterator.toSeq because that would produce a Stream and thus subject to further changes to the tree while traversing. The returned seq instead is 'forced' and thus stable.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  55. final def toSet(implicit tx: Tx): Set[A]

    Converts the tree into a non-transactional set.

    Converts the tree into a non-transactional set. This is not necessarily a very efficient method, and should usually just be used for debugging.

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  56. def toString(): String

    Definition Classes
    DeterministicSkipOctree → AnyRef → Any
  57. final def update(elem: A)(implicit tx: Tx): Option[A]

    Adds an element to the tree (or replaces a given element with the same point location).

    Adds an element to the tree (or replaces a given element with the same point location).

    elem

    the element to add to the tree

    returns

    the old element stored for the same point view, if it existed

    Definition Classes
    DeterministicSkipOctreeSkipOctree
  58. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  61. final def write(out: DataOutput): Unit

    Definition Classes
    DeterministicSkipOctree → Writer

Inherited from SkipOctree[S, D, A]

Inherited from Disposable[Tx]

Inherited from Writer

Inherited from AnyRef

Inherited from Any