RipserStreamBase

org.appliedtopology.tda4j.streams.RipserStreamBase
abstract class RipserStreamBase(val metricSpace: FiniteMetricSpace[Int], val maxFiltrationValue: Double = ..., val maxDimension: Int = ...) extends SimplexStream[Int, Double]

Attributes

Experimental
true
Graph
Supertypes
trait SimplexStream[Int, Double]
trait CellStream[Simplex[Int], Double]
trait IterableOnce[Simplex[Int]]
trait Filtration[Simplex[Int], Double]
trait Filterable[Double]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def expand(filtrationValue: Double, index: Long, size: Int): Seq[Simplex[Int]]
override def filtrationValue: PartialFunction[Simplex[Int], Double]

Attributes

Definition Classes
override def iterator: Iterator[Simplex[Int]]

An scala.collection.Iterator over the elements of this collection.

An scala.collection.Iterator over the elements of this collection.

If an IterableOnce object is in fact an scala.collection.Iterator, this method always returns itself, in its current state, but if it is an scala.collection.Iterable, this method always returns a new scala.collection.Iterator.

Attributes

Definition Classes
IterableOnce
def iteratorByDimension(d: Int): Iterator[Simplex[Int]]
def retain(index: Long, size: Int): Boolean
def zeroApparentCofacet(index: Long, size: Int): Option[Long]
def zeroApparentFacet(index: Long, size: Int): Option[Long]
def zeroPersistence[CoefficientT](): List[PersistenceBar[Double, Chain[Simplex[Int], CoefficientT]]]
def zeroPivotCofacet(index: Long, size: Int): Option[Long]
def zeroPivotFacet(index: Long, size: Int): Option[Long]

Inherited methods

def knownSize: Int

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
def stepper[S <: Stepper[_]](implicit shape: StepperShape[Simplex[Int], S]): S

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, Byte or Char, an scala.collection.IntStepper is returned
  • For collections of Double or Float, a scala.collection.DoubleStepper is returned
  • For collections of Long a 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

Concrete fields

val maxDimension: Int
val maxFiltrationValue: Double

Inherited fields

val filterable: Filterable[Double]

Attributes

Inherited from:
SimplexStream
val filtrationOrdering: Ordering[Simplex[Int]]

Attributes

Inherited from:
SimplexStream

Exports

Inherited and Abstract defined exports

def largest: Double
Exported from Filterable

Attributes

Inherited from:
SimplexStream
def smallest: Double
Exported from Filterable

Attributes

Inherited from:
SimplexStream