HomologyState

org.appliedtopology.tda4j.CellularHomologyEngine.HomologyState
class HomologyState(boundaries: Map[CellularHomologyEngine.this.CellT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]], generators: Map[CellularHomologyEngine.this.CellT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]], val positives: Map[CellularHomologyEngine.this.CellT, (CellularHomologyEngine.this.FiltrationT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT])], stream: CellStream[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.FiltrationT], var current: CellularHomologyEngine.this.FiltrationT, barcode: ArrayDeque[(Int, CellularHomologyEngine.this.FiltrationT, CellularHomologyEngine.this.FiltrationT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT])], maxDegree: Option[Int])

Attributes

Source
Homology.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(boundaries: Map[CellularHomologyEngine.this.CellT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]], generators: Map[CellularHomologyEngine.this.CellT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]], positives: Map[CellularHomologyEngine.this.CellT, (CellularHomologyEngine.this.FiltrationT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT])], stream: CellStream[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.FiltrationT], current: CellularHomologyEngine.this.FiltrationT, barcode: ArrayDeque[(Int, CellularHomologyEngine.this.FiltrationT, CellularHomologyEngine.this.FiltrationT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT])])

Attributes

Source
Homology.scala

Concrete methods

def advanceAll(): Unit

Attributes

Source
Homology.scala
def advanceFor(budget: FiniteDuration): Boolean

Advance for at most budget of wall-clock time (checked after every cell), so a long computation can be run in slices and inspected -- diagramAt(f) gives the diagram truncated at f whatever the cursor position -- instead of committing to a run that may never report. Returns true once the stream is exhausted. Always processes at least one cell when any remain, so repeated calls make progress even with a zero budget.

Advance for at most budget of wall-clock time (checked after every cell), so a long computation can be run in slices and inspected -- diagramAt(f) gives the diagram truncated at f whatever the cursor position -- instead of committing to a run that may never report. Returns true once the stream is exhausted. Always processes at least one cell when any remain, so repeated calls make progress even with a zero budget.

Attributes

Source
Homology.scala
def advanceOne(): Unit

Attributes

Source
Homology.scala
def advanceTo(f: CellularHomologyEngine.this.FiltrationT): Unit

Attributes

Source
Homology.scala
def barcodeAt(f: CellularHomologyEngine.this.FiltrationT, includeZeroLength: Boolean = ...): List[PersistenceBar[CellularHomologyEngine.this.FiltrationT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]]]

diagramWithGeneratorsAt as PersistenceBars: [birth, death) for a finished bar, [birth, f] for a class alive at f, [birth, ∞) for an essential class.

diagramWithGeneratorsAt as PersistenceBars: [birth, death) for a finished bar, [birth, f] for a class alive at f, [birth, ∞) for an essential class.

Attributes

Source
Homology.scala
def diagramAt(f: CellularHomologyEngine.this.FiltrationT, includeZeroLength: Boolean = ...): List[(Int, CellularHomologyEngine.this.FiltrationT, CellularHomologyEngine.this.FiltrationT)]

Attributes

Source
Homology.scala
def diagramWithGeneratorsAt(f: CellularHomologyEngine.this.FiltrationT, includeZeroLength: Boolean = ...): List[(Int, CellularHomologyEngine.this.FiltrationT, CellularHomologyEngine.this.FiltrationT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT])]

The diagram truncated at f, each bar with its representative cycle: bars born at or before f, deaths capped at f; a class alive at f is reported as (dim, birth, f), or as essential (death at the filtration's largest value) when no cell enters after f. The answer does not depend on where the cursor is: a query below the cursor gives what a fresh cursor would.

The diagram truncated at f, each bar with its representative cycle: bars born at or before f, deaths capped at f; a class alive at f is reported as (dim, birth, f), or as essential (death at the filtration's largest value) when no cell enters after f. The answer does not depend on where the cursor is: a query below the cursor gives what a fresh cursor would.

Zero-length bars (a cell paired with one entering at the same value) are left out unless includeZeroLength. A class born at exactly f and alive there is NOT zero-length: it is reported as (dim, f, f).

Attributes

Source
Homology.scala
def pairing: IndexedSeq[Pair[CellularHomologyEngine.this.CellT]]

The whole pairing (running the cursor to the end): every finite bar's birth and death cells, zero-length ones included, and every essential bar's birth cell. Computed under stream.filtrationOrdering.

The whole pairing (running the cursor to the end): every finite bar's birth and death cells, zero-length ones included, and every essential bar's birth cell. Computed under stream.filtrationOrdering.

Attributes

Source
Homology.scala
def snapshotAt(f: CellularHomologyEngine.this.FiltrationT, includeZeroLength: Boolean = ...)(using toDouble: CellularHomologyEngine.this.FiltrationT =:= Double): Of[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]

An immutable PersistenceDiagram of the filtration up to f (advancing the cursor to f if it isn't there yet): a stable view of a long run part-way through.

An immutable PersistenceDiagram of the filtration up to f (advancing the cursor to f if it isn't there yet): a stable view of a long run part-way through.

Attributes

Source
Homology.scala
def totalCells: Int

Attributes

Source
Homology.scala

Concrete fields

val cellIterator: BufferedIterator[CellularHomologyEngine.this.CellT]

Attributes

Source
Homology.scala
val chainRM: RingModule { type R = CellularHomologyEngine.this.CoefficientT; type Self = Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]; }

Attributes

Source
Homology.scala
var current: CellularHomologyEngine.this.FiltrationT

Attributes

Source
Homology.scala
lazy val lastFiltrationValue: Option[CellularHomologyEngine.this.FiltrationT]

Filtration value of the last cell the stream will ever produce: a class alive at f is essential exactly when no cell enters after f, which is a property of the STREAM, not of how far the cursor happens to have run.

Filtration value of the last cell the stream will ever produce: a class alive at f is essential exactly when no cell enters after f, which is a property of the STREAM, not of how far the cursor happens to have run.

Attributes

Source
Homology.scala
val negativeVCols: Map[CellularHomologyEngine.this.CellT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT]]

Attributes

Source
Homology.scala
val positives: Map[CellularHomologyEngine.this.CellT, (CellularHomologyEngine.this.FiltrationT, Chain[CellularHomologyEngine.this.CellT, CellularHomologyEngine.this.CoefficientT])]

Attributes

Source
Homology.scala
var processedCells: Int

How many cells the cursor has consumed, out of totalCells: progress of a long run.

How many cells the cursor has consumed, out of totalCells: progress of a long run.

Attributes

Source
Homology.scala
val processingOrder: Ordering[CellularHomologyEngine.this.CellT]

Attributes

Source
Homology.scala

Givens

Givens

Attributes

Source
Homology.scala
given given_Ordering_CellT: Ordering[CellularHomologyEngine.this.CellT]

Attributes

Source
Homology.scala