Trait

io.github.edouardfouche.index

Index

Related Doc: package index

Permalink

trait Index extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Index
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type T

    Permalink

Abstract Value Members

  1. abstract def allSlice(dimensions: Set[Int], sliceSize: Int): Array[Boolean]

    Permalink
  2. abstract def createIndex(data: Array[Array[Double]]): Array[Array[T]]

    Permalink

    data

    a data set (column-oriented!)

    returns

    An index, which is also column-oriented

    Attributes
    protected
  3. abstract def getSafeCut(cut: Int, reference: Int): Int

    Permalink
  4. abstract val parallelize: Int

    Permalink
  5. abstract def randomSlice(dimensions: Set[Int], referenceDim: Int, sliceSize: Int): Array[Boolean]

    Permalink

    Produce a subspace slice by conditioning on all dimensions, except a reference dimension

    Produce a subspace slice by conditioning on all dimensions, except a reference dimension

    dimensions

    The set of dimensions of the subspaces

    referenceDim

    The dimension that is considered as reference

    sliceSize

    The size of the slice for each dimensions, determined by alpha

    returns

    Returns an array of booleans. True corresponds to indexes included in the slice.

  6. abstract def restrictedRandomSlice(dimensions: Set[Int], referenceDim: Int, alpha: Double): Array[Boolean]

    Permalink
  7. abstract def restrictedSafeRandomSlice(dimensions: Set[Int], referenceDim: Int, alpha: Double): Array[Boolean]

    Permalink
  8. abstract def safeSlice(dimensions: Set[Int], referenceDim: Int, sliceSize: Int): Array[Boolean]

    Permalink
  9. abstract def simpleSlice(dimension: Int, sliceSize: Int): Index.this.type

    Permalink
  10. abstract val values: Array[Array[Double]]

    Permalink

Concrete 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 apply(n: Int): Array[T]

    Permalink
  5. def areCoPrimes(a: Int, b: Int): Boolean

    Permalink

    Coprimality test between two integers a and b

    Coprimality test between two integers a and b

    a

    integer

    b

    integer

    returns

    boolean, true if a and b are coprimes

  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def closeSearch(a: Int, inc: Int = 1): Stream[Int]

    Permalink

    Helper function that generates a stream of integers that are close to a, shall not be smaller than 1

    Helper function that generates a stream of integers that are close to a, shall not be smaller than 1

    a

    starting integer

    inc

    increment (internal parameter with default value 1)

    returns

    A stream of integer close to a and greater or equal to 1

  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findClosestCoPrime(a: Int, ref: Int): Int

    Permalink

    Find the closest integer from a, which is coprime with ref

    Find the closest integer from a, which is coprime with ref

    a

    An integer. We want to find the closest coprime from this position

    ref

    A reference integer.

    returns

    The cloest integer from a which is coprime with ref

  13. final def gcd(a: Int, b: Int): Int

    Permalink

    Find the greatest common divisor of a and b

    Find the greatest common divisor of a and b

    a

    integer

    b

    integer

    returns

    An integer, the greatest common divisor of a and b

    Annotations
    @tailrec()
  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. val index: Array[Array[T]]

    Permalink
  17. def indices: Range

    Permalink
  18. def isEmpty: Boolean

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def mean(xs: Array[Int]): Float

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def numCols: Int

    Permalink
  25. def numRows: Int

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped