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