Input

org.appliedtopology.tda4j.Persistence.Input
See theInput companion object
trait Input[CellT]

What Persistence can take. Points, metric spaces, images and streams convert to one where it's expected; to teach Persistence a new kind of input, give a Conversion[YourInput, Persistence.Input[CellT]] that implements stream, scale and cells (the rest are shortcuts to faster engines, off by default).

Attributes

Companion
object
Source
Persistence.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def cells: is[CellT, OrderedCell]

The cell type's boundary and order.

The cell type's boundary and order.

Attributes

Source
Persistence.scala
def scale: Option[Double]

The scale longerThanFraction() measures persistence against (a point cloud's minimum enclosing radius), if any.

The scale longerThanFraction() measures persistence against (a point cloud's minimum enclosing radius), if any.

Attributes

Source
Persistence.scala
def stream(maxDimension: Int, maxFiltrationValue: Option[Double], complex: PointCloudComplex): StratifiedCellStream[CellT, Double]

The filtered complex to compute on, cut off at homological degree maxDimension. complex is the caller's choice of construction, meaningful for point clouds.

The filtered complex to compute on, cut off at homological degree maxDimension. complex is the caller's choice of construction, meaningful for point clouds.

Attributes

Source
Persistence.scala

Concrete methods

The grid, when the input is one: Engine.FastCubical and the packed cubical engine run on it directly.

The grid, when the input is one: Engine.FastCubical and the packed cubical engine run on it directly.

Attributes

Source
Persistence.scala
def parallelRipser(maxDimension: Int, maxFiltrationValue: Option[Double], complex: PointCloudComplex, characteristic: Int, includeZeroLength: Boolean, cycles: Boolean, computeAllRepresentatives: Boolean, edgeTies: EdgeTies, blockOrder: BlockOrder): PersistenceDiagram[CellT]

The diagram by the block-parallel Ripser engine; only called for Engine.ParallelRipser.

The diagram by the block-parallel Ripser engine; only called for Engine.ParallelRipser.

Attributes

Source
Persistence.scala
def parallelRipserApplies(complex: PointCloudComplex, maxDimension: Int, characteristic: Int, includeZeroLength: Boolean, cycles: Boolean): Boolean

Whether the block-parallel Ripser engine computes the same bars as ripser for this complex, with the representatives asked for (Engine.Auto chooses it over ripser when it does and there are several threads).

Whether the block-parallel Ripser engine computes the same bars as ripser for this complex, with the representatives asked for (Engine.Auto chooses it over ripser when it does and there are several threads).

Attributes

Source
Persistence.scala
def ripser(maxDimension: Int, maxFiltrationValue: Option[Double], complex: PointCloudComplex, coefficients: Coefficients, includeZeroLength: Boolean, cycles: Boolean, edgeTies: Option[EdgeTies]): PersistenceDiagram[CellT]

The diagram by the packed Ripser engine; only called when ripserApplies(complex).

The diagram by the packed Ripser engine; only called when ripserApplies(complex).

Attributes

Source
Persistence.scala
def ripserApplies(complex: PointCloudComplex): Boolean

Whether ripser computes the same diagram as the generic engines would on stream for this complex.

Whether ripser computes the same diagram as the generic engines would on stream for this complex.

Attributes

Source
Persistence.scala