edu.stanford.math.plex4.homology.barcodes
public class BarcodeCollection<T extends java.lang.Comparable<T>> extends AnnotatedBarcodeCollection<T,java.lang.Object>
useLeftClosedDefault, useRightClosedDefault
generators, intervalGeneratorPairs, intervals
Constructor and Description |
---|
BarcodeCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addInterval(int dimension,
Interval<T> interval) |
void |
addInterval(int dimension,
T start,
T end)
This function adds the specified finite interval (start, end} at the
supplied dimension.
|
void |
addLeftInfiniteInterval(int dimension,
T end)
This function adds the specified semi-infinite interval {-infinity, end}
at the supplied dimension.
|
void |
addRightInfiniteInterval(int dimension,
T start)
This function adds the specified semi-infinite interval {start, infinity}
at the supplied dimension.
|
static <T extends java.lang.Comparable<T>,G> |
forgetGeneratorType(AnnotatedBarcodeCollection<T,G> annotatedBarcodeCollection) |
addInterval, addLeftInfiniteInterval, addRightInfiniteInterval, filterByMaxDimension, filterEvenIntervals, filterPositiveMeasureIntervals, getBettiNumbersMap, getInfiniteIntervals, setLeftClosedDefault, setRightClosedDefault
addInterval, equals, getBettiNumbers, getBettiSequence, getDimensions, getGeneratorIterator, getGeneratorsAtDimension, getIntervalGeneratorPairIterator, getIntervalGeneratorPairsAtDimension, getIntervalIterator, getIntervalsAtDimension, hashCode, iterator, toString, union
public void addInterval(int dimension, T start, T end)
dimension
- the dimension to add tostart
- the starting point of the intervalend
- the ending point of the intervalpublic void addRightInfiniteInterval(int dimension, T start)
dimension
- the dimension to add tostart
- the starting point of the intervalpublic void addLeftInfiniteInterval(int dimension, T end)
dimension
- the dimension to add toend
- the ending point of the intervalpublic static <T extends java.lang.Comparable<T>,G> BarcodeCollection<T> forgetGeneratorType(AnnotatedBarcodeCollection<T,G> annotatedBarcodeCollection)