edu.stanford.math.plex4.interop
public class Plex3PersistenceAlgorithm extends AbstractPersistenceAlgorithm<Simplex>
AbstractPersistenceAlgorithm
interface for easy interoperability and testing.
Essentially, it computes the persistent homology of a plex 4 stream using the plex 3 algorithm.Constructor and Description |
---|
Plex3PersistenceAlgorithm(int maxDimension)
This constructor initializes the class with the maximum dimension to compute persistence for.
|
Modifier and Type | Method and Description |
---|---|
BarcodeCollection<java.lang.Integer> |
computeIndexIntervals(AbstractFilteredStream<Simplex> plex4Stream)
This function computes the persistence index intervals of a filtered chain complex.
|
computeIntervals
public Plex3PersistenceAlgorithm(int maxDimension)
maxDimension
- the maximum dimensionpublic BarcodeCollection<java.lang.Integer> computeIndexIntervals(AbstractFilteredStream<Simplex> plex4Stream)
AbstractPersistenceAlgorithm
computeIndexIntervals
in class AbstractPersistenceAlgorithm<Simplex>
plex4Stream
- the filtered chain complex