de.sciss.lucre.data

DeterministicSkipOctree

object DeterministicSkipOctree

A transactional deterministic skip octree as outlined in the paper by Eppstein et al. It is constructed from a given space (dimensions) and a skip-gap parameter which determines the kind of skip list which is used to govern the level decimation.

The tree is a mutable data structure which supports lookup, insertion and removal in O(log n), as well as efficient range queries and nearest neighbour search.

The current implementation, backed by impl.SkipOctreeImpl, uses the types of the geom package, assuming that coordinates are integers, with the maximum root hyper-cube given by a span from 0 to 0x7FFFFFFF (e.g. in Space.IntTwoDim, this is IntSquare( 0x40000000, 0x40000000, 0x40000000 ).

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

Type Members

  1. sealed trait Branch[S <: Sys[S], D <: Space[D], A] extends Child[S, D, A] with NonEmpty[S, D]

  2. sealed trait Child[+S, +D, +A] extends Writable

  3. sealed trait ChildBranch[S <: Sys[S], D <: Space[D], A] extends Branch[S, D, A] with NonEmptyChild[S, D, A]

     Utility trait which elements the rightward search findPN.

  4. sealed trait Leaf[S <: Sys[S], D <: Space[D], A] extends Child[S, D, A] with LeftNonEmptyChild[S, D, A] with RightNonEmptyChild[S, D, A] with LeafOrEmpty[S, D, A]

  5. sealed trait LeafOrEmpty[+S, +D, +A] extends LeftChild[S, D, A]

    Attributes
    protected
  6. sealed trait Left extends AnyRef

  7. sealed trait LeftBranch[S <: Sys[S], D <: Space[D], A] extends Branch[S, D, A] with LeftNonEmpty[S, D]

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

  8. sealed trait LeftChild[+S, +D, +A] extends Left with Child[S, D, A]

  9. sealed trait LeftChildBranch[S <: Sys[S], D <: Space[D], A] extends LeftBranch[S, D, A] with ChildBranch[S, D, A] with LeftNonEmptyChild[S, D, A]

  10. sealed trait LeftNonEmpty[S <: Sys[S], D <: Space[D]] extends Left with NonEmpty[S, D]

  11. sealed trait LeftNonEmptyChild[S <: Sys[S], D <: Space[D], A] extends LeftNonEmpty[S, D] with NonEmptyChild[S, D, A] with LeftChild[S, D, A] with Writable

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

  12. sealed trait LeftTopBranch[S <: Sys[S], D <: Space[D], A] extends LeftBranch[S, D, A] with TopBranch[S, D, A] with Disposable[DeterministicSkipOctree.LeftTopBranch.S.Tx]

  13. sealed trait Next[+S, +D, +A] extends Child[S, D, A]

  14. sealed trait NonEmpty[S <: Sys[S], D <: Space[D]] extends Identifiable[DeterministicSkipOctree.NonEmpty.S.ID]

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

  15. sealed trait NonEmptyChild[S <: Sys[S], D <: Space[D], A] extends NonEmpty[S, D] with Child[S, D, A]

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

  16. sealed trait RightBranch[S <: Sys[S], D <: Space[D], A] extends Next[S, D, A] with Branch[S, D, A]

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

  17. sealed trait RightChild[+S, +D, +A] extends Child[S, D, A]

  18. sealed trait RightChildBranch[S <: Sys[S], D <: Space[D], A] extends RightBranch[S, D, A] with ChildBranch[S, D, A] with RightNonEmptyChild[S, D, A]

  19. sealed trait RightNonEmptyChild[S <: Sys[S], D <: Space[D], A] extends RightChild[S, D, A] with NonEmptyChild[S, D, A] with Writable

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

  20. sealed trait RightTopBranch[S <: Sys[S], D <: Space[D], A] extends RightBranch[S, D, A] with TopBranch[S, D, A]

  21. sealed trait TopBranch[S <: Sys[S], D <: Space[D], A] extends Branch[S, D, A]

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. object Empty extends LeftChild[Nothing, Nothing, Nothing] with RightChild[Nothing, Nothing, Nothing] with Next[Nothing, Nothing, Nothing] with LeafOrEmpty[Nothing, Nothing, Nothing] with Product with Serializable

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def empty[S <: Sys[S], D <: Space[D], A](hyperCube: DeterministicSkipOctree.empty.D.HyperCube, skipGap: Int = 2)(implicit view: (A, DeterministicSkipOctree.empty.S.Tx) ⇒ DeterministicSkipOctree.empty.D.PointLike, tx: DeterministicSkipOctree.empty.S.Tx, space: D, keySerializer: Serializer[DeterministicSkipOctree.empty.S.Tx, DeterministicSkipOctree.empty.S.Acc, A]): DeterministicSkipOctree[S, D, A]

  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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

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

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

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

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

    Definition Classes
    AnyRef
  19. def read[S <: Sys[S], D <: Space[D], A](in: DataInput, access: DeterministicSkipOctree.read.S.Acc)(implicit tx: DeterministicSkipOctree.read.S.Tx, view: (A, DeterministicSkipOctree.read.S.Tx) ⇒ DeterministicSkipOctree.read.D.PointLike, space: D, keySerializer: Serializer[DeterministicSkipOctree.read.S.Tx, DeterministicSkipOctree.read.S.Acc, A]): DeterministicSkipOctree[S, D, A]

  20. implicit def serializer[S <: Sys[S], D <: Space[D], A](implicit view: (A, DeterministicSkipOctree.serializer.S.Tx) ⇒ DeterministicSkipOctree.serializer.D.PointLike, space: D, keySerializer: Serializer[DeterministicSkipOctree.serializer.S.Tx, DeterministicSkipOctree.serializer.S.Acc, A]): Serializer[DeterministicSkipOctree.serializer.S.Tx, DeterministicSkipOctree.serializer.S.Acc, DeterministicSkipOctree[S, D, A]]

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped