Space

org.appliedtopology.tda4j.ParallelPackedCohomology.Space
open class Space(nPoints: Int, distance: (Int, Int) => Double, threshold0: Double, val maxDim: Int, val p: Int, val ripserApparent: Boolean = ..., forceWide: Boolean = ..., forceSparseRanks: Boolean = ..., edgeTies: EdgeTies = ..., val blockOrder: BlockOrder = ..., edgeLists: => Option[NeighbourLists] = ...) extends EdgeRanking

The edges within the threshold ranked, and the key encoding.

Attributes

Source
ParallelPackedCohomology.scala
Graph
Supertypes
class EdgeRanking
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def block(key: Long): Int

A one-word key's block; a two-word key carries its block beside it.

A one-word key's block; a two-word key carries its block beside it.

Attributes

Source
ParallelPackedCohomology.scala
def decode(index: Long, size: Int, out: Array[Int]): Unit

The size vertices of the simplex at index, ascending, into out.

The size vertices of the simplex at index, ascending, into out.

Attributes

Source
ParallelPackedCohomology.scala
def index(key: Long): Long

Attributes

Source
ParallelPackedCohomology.scala
def indexOf(vs: Array[Int], size: Int): Long

Attributes

Source
ParallelPackedCohomology.scala
def key(block: Int, index: Long): Long

Attributes

Source
ParallelPackedCohomology.scala
def value(block: Int): Double

Attributes

Source
ParallelPackedCohomology.scala

Inherited methods

def rankDown(cur: Array[Int], u: Int, a: Int, v: Int): Int

The rank of {a, v} for the u-th vertex a of a column, in a scan where v only decreases (after startDown).

The rank of {a, v} for the u-th vertex a of a column, in a scan where v only decreases (after startDown).

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
def rankOf(a: Int, b: Int): Int

The rank of the edge {a, b}, or -1 when it is longer than the threshold.

The rank of the edge {a, b}, or -1 when it is longer than the threshold.

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
def rankUp(cur: Array[Int], u: Int, a: Int, v: Int): Int

The rank of {a, v} for the u-th vertex a of a column, in a scan where v only increases (after startUp).

The rank of {a, v} for the u-th vertex a of a column, in a scan where v only increases (after startUp).

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
def startDown(cur: Array[Int], vs: Array[Int], k: Int): Unit

Points the cursors cur(0 until k) at the end of the neighbour lists of vs(0 until k), before a scan down.

Points the cursors cur(0 until k) at the end of the neighbour lists of vs(0 until k), before a scan down.

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
def startUp(cur: Array[Int], vs: Array[Int], k: Int): Unit

Points the cursors cur(0 until k) at the start of the neighbour lists of vs(0 until k), before a scan up.

Points the cursors cur(0 until k) at the start of the neighbour lists of vs(0 until k), before a scan up.

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala

Concrete fields

val binom: Array[Array[Long]]

binom(q)(v) = C(v, q), for simplices of up to maxDim + 2 vertices.

binom(q)(v) = C(v, q), for simplices of up to maxDim + 2 vertices.

Attributes

Source
ParallelPackedCohomology.scala
val bits: Int

Attributes

Source
ParallelPackedCohomology.scala
val inverse: Array[Int]

Attributes

Source
ParallelPackedCohomology.scala
val mask: Long

Attributes

Source
ParallelPackedCohomology.scala
val maxDim: Int

Attributes

Source
ParallelPackedCohomology.scala
val p: Int

Attributes

Source
ParallelPackedCohomology.scala
val ripserApparent: Boolean

Attributes

Source
ParallelPackedCohomology.scala
val smallerFirst: Boolean

Whether the smaller combinatorial index is the older one (BlockOrder.SmallerIndexFirst).

Whether the smaller combinatorial index is the older one (BlockOrder.SmallerIndexFirst).

Attributes

Source
ParallelPackedCohomology.scala
val wide: Boolean

Whether keys are two words: the block and the index need more than 63 bits together.

Whether keys are two words: the block and the index need more than 63 bits together.

Attributes

Source
ParallelPackedCohomology.scala

Inherited fields

val edgeA: Array[Int]

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val edgeB: Array[Int]

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val edgeLength: Array[Double]

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val n: Int

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val neighbourRank: Array[Array[Int]]

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val neighbours: Array[Array[Int]]

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val rank: Array[Int]

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val sparseRanks: Boolean

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala
val threshold: Double

Attributes

Inherited from:
EdgeRanking
Source
ParallelPackedCohomology.scala