LowerStar

org.appliedtopology.tda4j.LowerStar
object LowerStar

The lower-star filtration of a function on the vertices of a simplicial complex: a simplex enters when its last vertex does, so its value is the largest of its vertices' values. It computes the sublevel-set persistence of the function (a height function on a mesh, a measurement at each node of a network, a scalar field sampled at the vertices of a triangulation).

val stream = LowerStar(Seq(Simplex(0, 1, 2), Simplex(2, 3)), v => heights(v))
Persistence(stream)

Attributes

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

Members list

Value members

Concrete methods

def apply(facets: Iterable[Simplex[Int]], vertexValue: Int => Double, superlevel: Boolean = ...): ExplicitStream[Int, Double]

The complex generated by facets (each facet and all its faces), each simplex valued by the largest vertexValue of its vertices. With superlevel, valued by the largest of -vertexValue instead: the superlevel sets of the function, whose bars are then in negated units (as for a superlevel image).

The complex generated by facets (each facet and all its faces), each simplex valued by the largest vertexValue of its vertices. With superlevel, valued by the largest of -vertexValue instead: the superlevel sets of the function, whose bars are then in negated units (as for a superlevel image).

Attributes

Source
LowerStar.scala
def ofGraph(n: Int, edges: Iterable[(Int, Int)], vertexValue: Int => Double, superlevel: Boolean = ...): ExplicitStream[Int, Double]

The lower-star filtration of the graph on 0 until n with the given edges: a vertex at its value, an edge at the larger of its ends' values. Vertices that no edge touches are included.

The lower-star filtration of the graph on 0 until n with the given edges: a vertex at its value, an edge at the larger of its ends' values. Vertices that no edge touches are included.

Attributes

Source
LowerStar.scala