One bar of a barcode: a degree dim, a lower and an upper endpoint, and optionally an annotation -- in every engine's output, the bar's representative chain.
A finished bar is [birth, death); a class still alive at the end of the filtration is [birth, ∞); a class alive at the value a diagram was truncated at, f, is [birth, f] (closed: it exists at f).
Type parameters
- AnnotationT
-
Type of the annotation (we would expect this to be Chain).
- FiltrationT
-
Type of the filtration parameter
Value parameters
- cells
-
the cell that opens the bar and the one that closes it, when the engine records them (PersistenceBar.birthCell, PersistenceBar.deathCell read them typed). Not part of equality.
Attributes
- Companion
- object
- Experimental
- true
- Source
- Barcode.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Attributes
- Source
- Barcode.scala
The cells of a bar whose annotation is a chain over them, which is how the cell type is known: bar.birthCell is the cell whose entry creates the class (of the bar's dimension, valued at its birth) and bar.deathCell the one that kills it (one dimension up, valued at its death; none for an essential class). Both are None for a bar from an engine that does not record cells, bar.cells.isDefined telling that apart from an essential bar.
The cells of a bar whose annotation is a chain over them, which is how the cell type is known: bar.birthCell is the cell whose entry creates the class (of the bar's dimension, valued at its birth) and bar.deathCell the one that kills it (one dimension up, valued at its death; none for an essential class). Both are None for a bar from an engine that does not record cells, bar.cells.isDefined telling that apart from an essential bar.
Attributes
- Source
- Barcode.scala
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Attributes
- Source
- Barcode.scala
The cells of a bar whose annotation is a chain over them, which is how the cell type is known: bar.birthCell is the cell whose entry creates the class (of the bar's dimension, valued at its birth) and bar.deathCell the one that kills it (one dimension up, valued at its death; none for an essential class). Both are None for a bar from an engine that does not record cells, bar.cells.isDefined telling that apart from an essential bar.
The cells of a bar whose annotation is a chain over them, which is how the cell type is known: bar.birthCell is the cell whose entry creates the class (of the bar's dimension, valued at its birth) and bar.deathCell the one that kills it (one dimension up, valued at its death; none for an essential class). Both are None for a bar from an engine that does not record cells, bar.cells.isDefined telling that apart from an essential bar.
Attributes
- Source
- Barcode.scala
Checks whether this instance is equal to that. This universal equality method is defined in AnyRef.
Checks whether this instance is equal to that. This universal equality method is defined in AnyRef.
Attributes
- Definition Classes
-
Equals -> Any
- Source
- Barcode.scala
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
Any
- Source
- Barcode.scala
True for [v, v): a cell paired with one entering at the same filtration value, so no class ever exists. Engines leave these out unless asked (includeZeroLength = true).
True for [v, v): a cell paired with one entering at the same filtration value, so no class ever exists. Engines leave these out unless asked (includeZeroLength = true).
Attributes
- Source
- Barcode.scala
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Attributes
- Source
- Barcode.scala
The representative recorded with this bar (every engine records one: a cycle, or a cocycle for the cohomology engines).
The representative recorded with this bar (every engine records one: a cycle, or a cocycle for the cohomology engines).
Attributes
- Source
- Barcode.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- Barcode.scala
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Plain numbers for a bar over Double filtration values, so callers need not pattern-match on the endpoint types (open/closed makes no difference to the numbers): birth and death (Infinity for an essential class), persistence = death - birth, and toTriple = (dim, birth, death), the same shape diagramAt returns.
Attributes
- Source
- Barcode.scala
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala