Persistence
Attributes
- Experimental
- true
- Source
- Persistence.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Persistence.type
Members list
Type members
Classlikes
Which algorithm computes the diagram. All give the same bars; they differ in cost and in the representatives.
Which algorithm computes the diagram. All give the same bars; they differ in cost and in the representatives.
Auto(default):Ripserfor the Vietoris-Rips complex of points or a metric space (ParallelRipserinstead when there is more than one thread and it applies),FastCubicalfor an image (or cubical grid) of dimension 2 and up when cycles are asked for,Cohomologyfor everything else.Ripser: Bauer's Ripser, for the Vietoris-Rips complex of points or a metric space only; the fastest there. Cycles or cocycles.Cohomology: persistent cohomology of any complex. Cycles or cocycles.FastCubical: union-find on an image and its dual grid, for images of dimension 2 and up. Cycles only.Chunks: homology by clearing and compression, with union-find in degrees 0 and 1. Cycles or cocycles. Slow in degree 2 and up on Vietoris-Rips and Čech complexes, which have many cells of the top dimension.Naive: the reference algorithm, one cell at a time. Cycles or cocycles.ParallelRipser: Ripser's reduction cut into blocks that run on every processor, for the Vietoris-Rips complex of points or a metric space withZ/pcoefficients (p a prime up to 46,000), and bars of positive length only.Autochooses it instead ofRipserwhen there is more than one thread and it applies. Cocycles are native; cycles cost one more (sequential) reduction. Its representatives are computed when first read unlesscomputeAllRepresentativesis true (the default). On JavaScript it runs on its one thread. It ranks the edges within the threshold, so its memory grows with their number (and its construction with the square of the number of points). Ties between simplices of equal diameter are broken differently fromRipser's, so the bars are the same and the representatives need not be;edgeTieschooses the order of equal edges it breaks them by.
Each engine computes one kind natively and derives the other from its pairing (Involution), which costs one more reduction: cocycles are native to Ripser and Cohomology, cycles to the others.
Attributes
- Source
- Persistence.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Source
- Persistence.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Input.type
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).
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
- Supertypes
-
class Objecttrait Matchableclass Any
Types
How Engine.ParallelRipser orders two simplices of one dimension filed under the same edge: LargerIndexFirst (default; the larger combinatorial index is older, as in Ripser) or SmallerIndexFirst (the order of Bauer's hybrid, together with EdgeTies.Colexicographic). Every order gives the same bars; they differ in which pairs are apparent. Detail: ParallelPackedCohomology.BlockOrder.
How Engine.ParallelRipser orders two simplices of one dimension filed under the same edge: LargerIndexFirst (default; the larger combinatorial index is older, as in Ripser) or SmallerIndexFirst (the order of Bauer's hybrid, together with EdgeTies.Colexicographic). Every order gives the same bars; they differ in which pairs are apparent. Detail: ParallelPackedCohomology.BlockOrder.
Attributes
- Source
- Persistence.scala
How Engine.ParallelRipser and (when given) Engine.Ripser rank edges of one length: each simplex is filed under the last, in this order, of its longest edges. Lexicographic (default), ReverseLexicographic, Colexicographic (increasing combinatorial index, the order of Bauer's hybrid), ReverseColexicographic (decreasing index, Ripser's own order of equal edges) and Shuffled (a hash, as a control). Every order gives the same bars; they differ in how many pairs are apparent, so in the work on inputs with many equal distances. Detail: ParallelPackedCohomology.EdgeTies.
How Engine.ParallelRipser and (when given) Engine.Ripser rank edges of one length: each simplex is filed under the last, in this order, of its longest edges. Lexicographic (default), ReverseLexicographic, Colexicographic (increasing combinatorial index, the order of Bauer's hybrid), ReverseColexicographic (decreasing index, Ripser's own order of equal edges) and Shuffled (a hash, as a control). Every order gives the same bars; they differ in how many pairs are apparent, so in the work on inputs with many equal distances. Detail: ParallelPackedCohomology.EdgeTies.
Attributes
- Source
- Persistence.scala
Value members
Concrete methods
Attributes
- Source
- Persistence.scala
Concrete fields
Attributes
- Source
- Persistence.scala
The top homological degree computed when maxDimension is not given (and the input does not fix it).
The top homological degree computed when maxDimension is not given (and the input does not fix it).
Attributes
- Source
- Persistence.scala
Attributes
- Source
- Persistence.scala