The DTM-filtration of Anai, Chazal, Glisse, Ike, Lecci, Rouvreau, Saulnier and Wasserman, "DTM-based filtrations" (arXiv:1811.04757, Prop. 3.5), a weighted Rips filtration with weights f(x) the distance to measure (DistanceToMeasure). Values are diameters, as in Vietoris-Rips and GUDHI; with f = 0 (as for k = 1) this is the Vietoris-Rips filtration. For p = 1 it agrees with GUDHI's DTMRipsComplex.
p is the ball-radius exponent of Def. 3.1 (not the exponent q of the distance to measure), 1 or 2:
p = 1:t(f_x, f_y, d) = max(f_x, f_y, (d + f_x + f_y) / 2), as in GUDHI;p = 2:t = max(f_x, f_y, sqrt(u² + f_x²))withu = (d² + f_y² - f_x²) / (2d)when|f_y² - f_x²| <= d², andmax(f_x, f_y)otherwise (one ball contains the other).
A flag complex on the weighted distances 2 t, with vertex x born at 2 f(x). maxFiltrationValue defaults to the minimum enclosing radius of the weighted distances, which is at least every vertex's birth and beyond which the complex is a cone. Vertices are born at nonzero values, so the Ripser engines do not apply.
Attributes
- Companion
- object
- Experimental
- true
- Source
- DtmRipsStream.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Source
- DtmRipsStream.scala
Attributes
- Source
- DtmRipsStream.scala
The cells of dimension d, oldest first. The domain must be contiguous from 0 (0, 1, ..., k, or empty, or all of the naturals): iterator stops at the first dimension where this is undefined.
The cells of dimension d, oldest first. The domain must be contiguous from 0 (0, 1, ..., k, or empty, or all of the naturals): iterator stops at the first dimension where this is undefined.
Attributes
- Definition Classes
- Source
- DtmRipsStream.scala
Attributes
- Source
- DtmRipsStream.scala
Inherited methods
The dimensions 0, 1, ... as FlatLayerStream.Layers, each built when the iterator reaches it, up to the last one that has a cell. None for a stream that cannot give its cells as arrays (then iterate it for cells).
The dimensions 0, 1, ... as FlatLayerStream.Layers, each built when the iterator reaches it, up to the last one that has a cell. None for a stream that cannot give its cells as arrays (then iterate it for cells).
Attributes
- Definition Classes
- Inherited from:
- RipserCofaceSimplexStream
- Source
- SimplexStream.scala
Some(k) for a complex cut off to compute homology in degrees 0..k (what VietorisRips(points, maxDimension = k) returns, holding cells up to dimension k + 1): its higher degrees are not the homology of the full complex. None (the default) for a complete complex.
Some(k) for a complex cut off to compute homology in degrees 0..k (what VietorisRips(points, maxDimension = k) returns, holding cells up to dimension k + 1): its higher degrees are not the homology of the full complex. None (the default) for a complete complex.
Attributes
- Inherited from:
- StratifiedCellStream
- Source
- SimplexStream.scala
All the cells, dimension by dimension. Stops at the first undefined dimension (takeWhile, never filter, which would search forever past the last one).
All the cells, dimension by dimension. Stops at the first undefined dimension (takeWhile, never filter, which would search forever past the last one).
Attributes
- Definition Classes
-
StratifiedCellStream -> IterableOnce
- Inherited from:
- StratifiedCellStream
- Source
- SimplexStream.scala
The number of elements in this collection, if it can be cheaply computed, -1 otherwise. Cheaply usually means: Not requiring a collection traversal.
The number of elements in this collection, if it can be cheaply computed, -1 otherwise. Cheaply usually means: Not requiring a collection traversal.
Attributes
- Inherited from:
- IterableOnce
- Source
- IterableOnce.scala
Returns a scala.collection.Stepper for the elements of this collection.
Returns a scala.collection.Stepper for the elements of this collection.
The Stepper enables creating a Java stream to operate on the collection, see scala.jdk.StreamConverters. For collections holding primitive values, the Stepper can be used as an iterator which doesn't box the elements.
The implicit scala.collection.StepperShape parameter defines the resulting Stepper type according to the element type of this collection.
- For collections of
Int,Short,ByteorChar, an scala.collection.IntStepper is returned - For collections of
DoubleorFloat, a scala.collection.DoubleStepper is returned - For collections of
Longa scala.collection.LongStepper is returned - For any other element type, an scala.collection.AnyStepper is returned
Note that this method is overridden in subclasses and the return type is refined to S with EfficientSplit, for example scala.collection.IndexedSeqOps.stepper. For Steppers marked with scala.collection.Stepper.EfficientSplit, the converters in scala.jdk.StreamConverters allow creating parallel streams, whereas bare Steppers can be converted only to sequential streams.
Attributes
- Inherited from:
- IterableOnce
- Source
- IterableOnce.scala
Concrete fields
Attributes
- Source
- DtmRipsStream.scala
Inherited fields
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Filtration value reversed, then dimension, then colexicographic order of the vertex sets (their combinatorial index), the refinement Ripser's apparent pairs are defined with. A total order: without a tie-break, a triangle and its longest edge would compare equal and collide in the reduction. iterateDimension sorts by this same ordering reversed, so iteration order and pivot order agree.
Filtration value reversed, then dimension, then colexicographic order of the vertex sets (their combinatorial index), the refinement Ripser's apparent pairs are defined with. A total order: without a tie-break, a triangle and its longest edge would compare equal and collide in the reduction. iterateDimension sorts by this same ordering reversed, so iteration order and pivot order agree.
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- DoubleFiltration
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- EnumeratingCofaceSimplexStream
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- DoubleFiltration
- Source
- SimplexStream.scala