edu.stanford.math.plex4.autogen.homology
public abstract class BooleanPersistentHomology<U> extends BooleanPersistenceAlgorithm<U>
boolean the underlying type of the coefficient field
U the underlying basis type
basisComparator, chainModule, filteredComparator, maxDimension, minDimension
Constructor and Description |
---|
BooleanPersistentHomology(java.util.Comparator<U> basisComparator,
int minDimension,
int maxDimension)
This constructor initializes the object with a comparator on the basis type.
|
Modifier and Type | Method and Description |
---|---|
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<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.BooleanSparseFormalSum<U>> |
getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>> RV_pair,
AbstractFilteredStream<U> stream) |
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>> |
getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<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.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<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.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>> RV_pair,
AbstractFilteredStream<U> stream,
boolean absolute) |
computeAnnotatedIndexIntervals, computeIndexIntervals, getChainModule, initializeFilteredComparator, low
computeAnnotatedIntervals
computeIntervals
public BooleanPersistentHomology(java.util.Comparator<U> basisComparator, int minDimension, int maxDimension)
basisComparator
- 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.BooleanSparseFormalSum<U>> computeAnnotatedIntervalsImpl(AbstractFilteredStream<U> stream)
BooleanPersistenceAlgorithm
computeAnnotatedIntervalsImpl
in class BooleanPersistenceAlgorithm<U>
stream
- the filtered chain complexprotected BarcodeCollection<java.lang.Integer> computeIntervalsImpl(AbstractFilteredStream<U> stream)
BooleanPersistenceAlgorithm
computeIntervalsImpl
in class BooleanPersistenceAlgorithm<U>
stream
- the filtered chain complexprotected abstract AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>> getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<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.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>> RV_pair, AbstractFilteredStream<U> stream)
protected AnnotatedBarcodeCollection<java.lang.Integer,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>> getAnnotatedIntervals(edu.stanford.math.primitivelib.autogen.pair.ObjectObjectPair<gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<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.BooleanSparseFormalSum<U>>,gnu.trove.THashMap<U,edu.stanford.math.primitivelib.autogen.formal_sum.BooleanSparseFormalSum<U>>> RV_pair, AbstractFilteredStream<U> stream, boolean absolute)