DtmRipsSimplexStream

org.appliedtopology.tda4j.streams.DtmRipsSimplexStream
See theDtmRipsSimplexStream companion class

Attributes

Companion
class
Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class DtmMetricSpace(val ambient: FiniteMetricSpace[Int], val f: IndexedSeq[Double], val p: Double = ...) extends FiniteMetricSpace[Int]

Reifies the DTM-Rips 1-skeleton as a FiniteMetricSpace[Int] (doubled 2*t) so it slots into RipserCofaceSimplexStream unchanged for every dimension >= 1, the same trick WitnessMetricSpace uses for the lazy witness complex. '''Not a real metric''' (no triangle-inequality guarantee) -- never hand this to JVPTree/SparseMetricSpace/alpha, only to combinatorial coface generation.

Reifies the DTM-Rips 1-skeleton as a FiniteMetricSpace[Int] (doubled 2*t) so it slots into RipserCofaceSimplexStream unchanged for every dimension >= 1, the same trick WitnessMetricSpace uses for the lazy witness complex. '''Not a real metric''' (no triangle-inequality guarantee) -- never hand this to JVPTree/SparseMetricSpace/alpha, only to combinatorial coface generation.

Attributes

Supertypes
trait FiniteMetricSpace[Int]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(ambientMetricSpace: FiniteMetricSpace[Int], f: IndexedSeq[Double], p: Double = ..., keepCriterion: PartialFunction[Simplex[Int], Boolean] = ..., maxFiltrationValue: Option[Double] = ..., parallelFiltrationValue: Boolean = ...): DtmRipsSimplexStream
def edgeValue(fx: Double, fy: Double, d: Double, p: Double): Double

t(f_x, f_y, d) of Prop. 3.5, undoubled -- see the class doc for both closed forms and their derivations.

t(f_x, f_y, d) of Prop. 3.5, undoubled -- see the class doc for both closed forms and their derivations.

Attributes

def filtrationValueOverride(reified: DtmMetricSpace): PartialFunction[Simplex[Int], Double]

dim 0 => 2*f(x), dim >= 1 => the inherited "max pairwise (doubled) distance" flag-complex default overreified(a flag complex needs no dimension-specific formula beyond its own edge weights) -- memoized with its ownTrieMap, sinceRipserCofaceSimplexStreamonly memoizes the plain default it builds itself, never a caller-supplied override (same reasoning asCechFiltration`'s own cache).

dim 0 => 2*f(x), dim >= 1 => the inherited "max pairwise (doubled) distance" flag-complex default overreified(a flag complex needs no dimension-specific formula beyond its own edge weights) -- memoized with its ownTrieMap, sinceRipserCofaceSimplexStreamonly memoizes the plain default it builds itself, never a caller-supplied override (same reasoning asCechFiltration`'s own cache).

Attributes