FlatFiltration

org.appliedtopology.tda4j.RipserCofaceSimplexStream.FlatFiltration
See theFlatFiltration companion object

The filtration value of a simplex computed from its vertices, which lie in an array: what lets a coface stream build its dimensions on arrays (FlatLayerStream) instead of asking a function of Simplex values.

It must give the value of the simplex's own filtrationValue, bit for bit; the stream's tests compare the two. value is called from several threads at once when parallelFiltrationValue is set.

Attributes

Companion
object
Source
SimplexStream.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def value(vertices: Array[Int], from: Int, width: Int, parentValue: Double): Double

The value of the simplex with the ascending vertices vertices(from until from + width). parentValue is the value of the simplex without its smallest vertex (not a number for a vertex): a value that is the largest over the edges of a simplex needs only the edges of the smallest vertex on top of it.

The value of the simplex with the ascending vertices vertices(from until from + width). parentValue is the value of the simplex without its smallest vertex (not a number for a vertex): a value that is the largest over the edges of a simplex needs only the edges of the smallest vertex on top of it.

Attributes

Source
SimplexStream.scala

Concrete methods

The filtration to call for one run of candidates, from one thread at a time: the candidates of one parent come together, parent's vertices after the new smallest one, so a filtration may keep what it computed for the parent between two calls. The default is the filtration itself, which must then keep nothing.

The filtration to call for one run of candidates, from one thread at a time: the candidates of one parent come together, parent's vertices after the new smallest one, so a filtration may keep what it computed for the parent between two calls. The default is the filtration itself, which must then keep nothing.

Attributes

Source
SimplexStream.scala