PersistenceEngine

org.appliedtopology.tda4j.PersistenceEngine
See thePersistenceEngine companion object
trait PersistenceEngine[CellT, C]

"Run to the end and give me the barcode", for the engines that take a stream and work for any cell type: naive (CellularHomologyEngine), chunks (CellularPersistenceInChunksEngine) and cohomology (CellularCohomologyEngine). The engines themselves offer more (a cursor, queries at intermediate values); this is the common denominator, used where the engine is chosen at runtime.

The Ripser engines are not instances: they take a metric space rather than a stream.

For naive and cohomology the stream decides the top degree: to get degrees 0 .. k, hand them a stream with cells up to dimension k + 1 (what VietorisRips(points, maxDimension = k) is). A stream that says it was cut off (homologyDegreeLimit) gets no bars above that degree from either; a complete complex is read whole. chunks(maxDim) takes the degree itself.

Attributes

Companion
object
Experimental
true
Source
PersistenceEngine.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def barcode(stream: StratifiedCellStream[CellT, Double], includeZeroLength: Boolean = ...): List[PersistenceBar[Double, Chain[CellT, C]]]

The finished barcode of stream; zero-length bars only if includeZeroLength.

The finished barcode of stream; zero-length bars only if includeZeroLength.

Attributes

Source
PersistenceEngine.scala