Intervals
Any interval type need to implement following interface:
ComputationalHomology.AbstractInterval
— TypeAbstract interval type
ComputationalHomology.birth
— Functionbirth(i::AbstractInterval)
Return a birth value of the interval i
.
ComputationalHomology.death
— Functiondeath(i::AbstractInterval)
Return a death value of the interval i
.
The persistence diagram is defined as
PersistenceDiagram{T} = AbstractVector{<:AbstractInterval{T}}
Following auxiliary functions are available for any interval instance derived from AbstractInterval
:
Missing docstring for birthx(::AbstractInterval)
. Check Documenter's build log for details.
Missing docstring for deathx(::AbstractInterval)
. Check Documenter's build log for details.
Missing docstring for pair(::AbstractInterval)
. Check Documenter's build log for details.
Missing docstring for isempty(::AbstractInterval)
. Check Documenter's build log for details.
Missing docstring for in(::T, ::AbstractInterval{T}) where {T<:AbstractFloat}
. Check Documenter's build log for details.
Missing docstring for isless(::AbstractInterval, ::AbstractInterval)
. Check Documenter's build log for details.
Missing docstring for (==)(::AbstractInterval, ::AbstractInterval)
. Check Documenter's build log for details.
Implemented interval types:
ComputationalHomology.Interval
— TypeInterval{T<:AbstractFloat} <: AbstractInterval{T}
Simple implementation of the AbstractInterval
type.
ComputationalHomology.AnnotatedInterval
— TypeAnnotatedInterval{T<:AbstractFloat, C<:AbstractChain} <: AbstractInterval{T}
Interval type annotated with a generator chain.