edu.stanford.math.plex4.autogen.homology
public class IntClassicalHomology<U> extends AbstractPersistenceAlgorithm<U>
This class performs the persistent homology algorithm as outlined in the paper "Computing Persistent Homology" by Zomorodian and Carlsson.
int 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.IntAbstractField |
field |
| Constructor and Description |
|---|
IntClassicalHomology(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 |
|---|---|
BarcodeCollection<java.lang.Integer> |
computeIndexIntervals(AbstractFilteredStream<U> stream)
This function computes the persistence index intervals of a filtered chain complex.
|
computeIntervalsprotected final edu.stanford.math.primitivelib.autogen.algebraic.IntAbstractField field
public IntClassicalHomology(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 computepublic BarcodeCollection<java.lang.Integer> computeIndexIntervals(AbstractFilteredStream<U> stream)
AbstractPersistenceAlgorithmcomputeIndexIntervals in class AbstractPersistenceAlgorithm<U>stream - the filtered chain complex