CellularPersistenceInChunksEngine

org.appliedtopology.tda4j.CellularPersistenceInChunksEngine
See theCellularPersistenceInChunksEngine companion object
open class CellularPersistenceInChunksEngine[CellT, CoefficientT](maxDim: Int = ...)(using evidence$1: OrderedCell { type Self = CellT; }, evidence$2: Field { type Self = CoefficientT; })

The chunks persistence engine: the clear-and-compress algorithm of Bauer, Kerber and Reininghaus ("Clear and compress: computing persistent homology in chunks", 2014), with degrees 0 and 1 by union-find. Reports degrees 0 .. maxDim (it reads cells up to dimension maxDim + 1 from the stream, so a stream built to that dimension is enough). The whole reduction runs on the first query; diagramAt(f)/barcodeAt(f) then give the diagram truncated at any f, with a representative cycle for every bar.

Attributes

Companion
object
Experimental
true
Source
Homology.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CubicalPersistenceInChunksEngine[CoefficientT]
class PersistenceInChunksEngine[VertexT, CoefficientT]

Members list

Type members

Classlikes

class HomologyState(boundaries: Map[CellularPersistenceInChunksEngine.this.CellT, Chain[CellularPersistenceInChunksEngine.this.CellT, CellularPersistenceInChunksEngine.this.CoefficientT]], stream: StratifiedCellStream[CellularPersistenceInChunksEngine.this.CellT, Double], barcode: Map[Int, Queue[(Double, Double, Chain[CellularPersistenceInChunksEngine.this.CellT, CellularPersistenceInChunksEngine.this.CoefficientT])]], essentialRepresentatives: Map[CellularPersistenceInChunksEngine.this.CellT, Chain[CellularPersistenceInChunksEngine.this.CellT, CellularPersistenceInChunksEngine.this.CoefficientT]])

Attributes

Source
Homology.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def persistentHomology(stream: => StratifiedCellStream[CellT, Double]): HomologyState

Attributes

Source
Homology.scala

Concrete fields

val chainRM: RingModule { type R = CoefficientT; type Self = Chain[CellT, CoefficientT]; }

Attributes

Source
Homology.scala