VietorisRips

org.appliedtopology.tda4j.VietorisRips

The Vietoris-Rips complex, as a stream for any engine. (The Persistence verb is the shorter way to its diagram.)

maxDimension is the top homological degree: the stream holds one dimension more, so an engine run on it also reports classes of degree maxDimension + 1, which are incomplete; drop them. maxFiltrationValue defaults to the minimum enclosing radius (beyond it nothing new is born); pass Double.PositiveInfinity for the whole complex.

The constructions (Implementation) give the same complex, cell for cell, at different speeds; Implementation.RipserCoface is the default.

Attributes

Experimental
true
Source
VietorisRips.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Source
VietorisRips.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(metricSpace: FiniteMetricSpace[Int], maxDimension: Int = ..., maxFiltrationValue: Optional[Double] = ..., implementation: Implementation = ...): LevelwiseSimplexStream[Int, Double]

Attributes

Source
VietorisRips.scala
def fromPoints(points: PointCloud, maxDimension: Int, maxFiltrationValue: Option[Double]): LevelwiseSimplexStream[Int, Double]

The complex of points up to homological degree maxDimension, with simplices up to maxFiltrationValue (in the complex's own unit: an edge length for VietorisRips, a radius for Cech and AlphaShapes). The three built-in complexes stop at the points' minimum enclosing radius (FiniteMetricSpace.minimumEnclosingRadius) when none is given: the barcode does not change after it.

The complex of points up to homological degree maxDimension, with simplices up to maxFiltrationValue (in the complex's own unit: an edge length for VietorisRips, a radius for Cech and AlphaShapes). The three built-in complexes stop at the points' minimum enclosing radius (FiniteMetricSpace.minimumEnclosingRadius) when none is given: the barcode does not change after it.

Attributes

Source
VietorisRips.scala