edu.stanford.math.plex4.autogen.homology
public abstract class IntPersistentHomology<U> extends IntPersistenceAlgorithm<U>
int the underlying type of the coefficient field
U the underlying basis type
basisComparator, chainModule, field, filteredComparator, maxDimension, minDimension
Constructor and Description |
---|
IntPersistentHomology(edu.stanford.math.primitivelib.autogen.algebraic.IntAbstractField field,
java.util.Comparator<U> basisComparator,
int minDimension,
int maxDimension)
This constructor initializes the object with a field and a comparator on the basis type.
|
Modifier and Type | Method and Description |
---|---|
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>> |
computeAnnotatedIntervalsImpl(AbstractFilteredStream<U> stream)
This function provides the implementation of computeAnnotatedIntervals.
|
protected BarcodeCollection<java.lang.Integer> |
computeIntervalsImpl(AbstractFilteredStream<U> stream)
This function provides the implementation of computeIntervals.
|
protected abstract AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>> |
getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair,
AbstractFilteredStream<U> stream) |
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>> |
getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair,
AbstractFilteredStream<U> stream,
boolean absolute) |
protected abstract BarcodeCollection<java.lang.Integer> |
getIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair,
AbstractFilteredStream<U> stream) |
protected BarcodeCollection<java.lang.Integer> |
getIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair,
AbstractFilteredStream<U> stream,
boolean absolute) |
computeAnnotatedIndexIntervals, computeIndexIntervals, getChainModule, getField, initializeFilteredComparator, low
computeAnnotatedIntervals
computeIntervals
public IntPersistentHomology(edu.stanford.math.primitivelib.autogen.algebraic.IntAbstractField field, java.util.Comparator<U> basisComparator, int minDimension, int maxDimension)
field
- a field structure on the type intbasisComparator
- a comparator on the basis type UminDimension
- the minimum dimension to computemaxDimension
- the maximum dimension to computeprotected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>> computeAnnotatedIntervalsImpl(AbstractFilteredStream<U> stream)
IntPersistenceAlgorithm
computeAnnotatedIntervalsImpl
in class IntPersistenceAlgorithm<U>
stream
- the filtered chain complexprotected BarcodeCollection<java.lang.Integer> computeIntervalsImpl(AbstractFilteredStream<U> stream)
IntPersistenceAlgorithm
computeIntervalsImpl
in class IntPersistenceAlgorithm<U>
stream
- the filtered chain complexprotected abstract AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>> getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair, AbstractFilteredStream<U> stream)
protected abstract BarcodeCollection<java.lang.Integer> getIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair, AbstractFilteredStream<U> stream)
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>> getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair, AbstractFilteredStream<U> stream, boolean absolute)
protected BarcodeCollection<java.lang.Integer> getIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.IntSparseFormalSum<U>>> RV_pair, AbstractFilteredStream<U> stream, boolean absolute)