edu.stanford.math.plex4.autogen.homology
public class ObjectClassicalHomology<F,U> extends AbstractPersistenceAlgorithm<U>
This class performs the persistent homology algorithm as outlined in the paper "Computing Persistent Homology" by Zomorodian and Carlsson.
F the underlying type of the coefficient field
U the underlying basis type
Modifier and Type | Field and Description |
---|---|
protected edu.stanford.math.primitivelib.autogen.algebraic.ObjectAbstractField<F> |
field |
Constructor and Description |
---|
ObjectClassicalHomology(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 |
---|---|
BarcodeCollection<java.lang.Integer> |
computeIndexIntervals(AbstractFilteredStream<U> stream)
This function computes the persistence index intervals of a filtered chain complex.
|
computeIntervals
protected final edu.stanford.math.primitivelib.autogen.algebraic.ObjectAbstractField<F> field
public ObjectClassicalHomology(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 computepublic BarcodeCollection<java.lang.Integer> computeIndexIntervals(AbstractFilteredStream<U> stream)
AbstractPersistenceAlgorithm
computeIndexIntervals
in class AbstractPersistenceAlgorithm<U>
stream
- the filtered chain complex