EdgeRanking

org.appliedtopology.tda4j.ParallelPackedCohomology.EdgeRanking
open class EdgeRanking(val n: Int, distance: (Int, Int) => Double, val threshold: Double, val edgeTies: EdgeTies = ..., forceSparseRanks: Boolean = ..., edgeLists: => Option[NeighbourLists] = ...)

The edges of a metric within a threshold, ranked by length and then by an EdgeTies order, with each edge's rank looked up in a dense n x n table (up to DenseRankLimit points) or in sorted neighbour lists. A rank is a position in the filtration order of the edges: it is what Space files a simplex under, and what EdgeRankedMetricSpace hands an engine in place of the length.

Attributes

Source
ParallelPackedCohomology.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Space

Members list

Value members

Concrete 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

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

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

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

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

Source
ParallelPackedCohomology.scala

Concrete fields

val edgeA: Array[Int]

Attributes

Source
ParallelPackedCohomology.scala
val edgeB: Array[Int]

Attributes

Source
ParallelPackedCohomology.scala
val edgeLength: Array[Double]

Attributes

Source
ParallelPackedCohomology.scala
val n: Int

Attributes

Source
ParallelPackedCohomology.scala
val neighbourRank: Array[Array[Int]]

Attributes

Source
ParallelPackedCohomology.scala
val neighbours: Array[Array[Int]]

Attributes

Source
ParallelPackedCohomology.scala
val rank: Array[Int]

Attributes

Source
ParallelPackedCohomology.scala
val sparseRanks: Boolean

Attributes

Source
ParallelPackedCohomology.scala
val threshold: Double

Attributes

Source
ParallelPackedCohomology.scala