DiscreteMorse
org.appliedtopology.tda4j.DiscreteMorse
object DiscreteMorse
Discrete Morse theory on a filtered complex: apply finds a matching that respects the filtration (a pair enters at one value) and returns the MorseComplex.
val rips = VietorisRips(points, maxDimension = 2)
val morse = DiscreteMorse(rips)
morse.critical.size // far fewer cells than `rips`
Persistence(morse.stream, maxDimension = 2) // the same bars as Persistence(rips, maxDimension = 2)
The matching is made level by level, a level being the cells that enter at one value, by elementary collapses (Strategy.Reduction: a cell with exactly one coface in the level, paired with it) or by elementary coreductions (Strategy.Coreduction: a cell with exactly one face in the level, paired with it), and when neither applies the cell of highest (respectively lowest) dimension is left critical. Pairs inside one level are acyclic, and a gradient path never goes back up in the filtration, so the matching is acyclic as a whole; the pairs are the apparent pairs of Ripser and more.
Attributes
- Experimental
- true
- Source
- DiscreteMorse.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DiscreteMorse.type
Members list
In this article