Class

com.spark3d.spatialPartitioning

OnionPartitioning

Related Doc: package spatialPartitioning

Permalink

class OnionPartitioning extends Serializable

Class to deal with the onion space. The idea is described here: https://github.com/JulienPeloton/spark3D/issues/11

The difference between 2 concentric spheres will define the elements of the grid (Spark partitions) such that we will have a onion space!

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OnionPartitioning
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OnionPartitioning()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def LinearOnionPartitioning(numPartitions: Int, maxZ: Double, isSpherical: Boolean): Unit

    Permalink

    Initialise a new Onion space, by linearly slicing the radial coordinate.

    Initialise a new Onion space, by linearly slicing the radial coordinate. The space is made of shells, that is each partition is the difference between two subsequent spheres. The resolution of the space, that is the radial distance between two partitions is given by the highest radial coordinate value divided by the number of partitions.

    numPartitions

    : (Int) Number RDD partitions

    maxZ

    : (Double) Highest radial coordinate value for our space.

    isSpherical

    : (Boolean) True if the coordinate system of the data is spherical (r, theta, phi). False if the coordinate system of the data is cartesian.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getGrids: List[ShellEnvelope]

    Permalink

    Returns the n Shells required to build the n grid elements.

    Returns the n Shells required to build the n grid elements.

    returns

    (List[ShellEnvelope]) List of n Shells.

  12. def getMaxZ[T <: Shape3D](rdd: RDD[T]): Double

    Permalink

    Get the highest radial coordinate value (max(Z)).

    Get the highest radial coordinate value (max(Z)).

    rdd

    (RDD[T]) RDD of type T (which must extends Shape3D)

    returns

    (Double) the highest radial coordinate value (max(Z)).

  13. val grids: Builder[ShellEnvelope, List[ShellEnvelope]]

    Permalink

    Elements of the Grid as List[ShellEnvelope]

  14. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped