edu.stanford.math.plex4.autogen.homology
public abstract class ObjectPersistentHomology<F,U> extends ObjectPersistenceAlgorithm<F,U>
F the underlying type of the coefficient field
U the underlying basis type
basisComparator, chainModule, field, filteredComparator, maxDimension, minDimension
Constructor and Description |
---|
ObjectPersistentHomology(edu.stanford.math.primitivelib.autogen.algebraic.ObjectAbstractField<F> 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.ObjectSparseFormalSum<F,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.ObjectSparseFormalSum<F,U>> |
getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>> RV_pair,
AbstractFilteredStream<U> stream) |
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>> |
getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,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.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,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.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>> RV_pair,
AbstractFilteredStream<U> stream,
boolean absolute) |
computeAnnotatedIndexIntervals, computeIndexIntervals, getChainModule, getField, initializeFilteredComparator, low
computeAnnotatedIntervals
computeIntervals
public ObjectPersistentHomology(edu.stanford.math.primitivelib.autogen.algebraic.ObjectAbstractField<F> field, java.util.Comparator<U> basisComparator, int minDimension, int maxDimension)
field
- a field structure on the type FbasisComparator
- 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.ObjectSparseFormalSum<F,U>> computeAnnotatedIntervalsImpl(AbstractFilteredStream<U> stream)
ObjectPersistenceAlgorithm
computeAnnotatedIntervalsImpl
in class ObjectPersistenceAlgorithm<F,U>
stream
- the filtered chain complexprotected BarcodeCollection<java.lang.Integer> computeIntervalsImpl(AbstractFilteredStream<U> stream)
ObjectPersistenceAlgorithm
computeIntervalsImpl
in class ObjectPersistenceAlgorithm<F,U>
stream
- the filtered chain complexprotected abstract AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>> getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,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.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>> RV_pair, AbstractFilteredStream<U> stream)
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>> getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,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.ObjectSparseFormalSum<F,U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.ObjectSparseFormalSum<F,U>>> RV_pair, AbstractFilteredStream<U> stream, boolean absolute)