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)
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).
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.