edu.stanford.math.plex4.homology.barcodes
public class AnnotatedBarcodeCollection<T extends java.lang.Comparable<T>,G> extends PersistenceInvariantDescriptor<Interval<T>,G>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
useLeftClosedDefault |
protected boolean |
useRightClosedDefault |
generators, intervalGeneratorPairs, intervals| Constructor and Description |
|---|
AnnotatedBarcodeCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterval(int dimension,
T start,
T end,
G generatingCycle)
This function adds the specified finite interval (start, end} at the
supplied dimension.
|
void |
addLeftInfiniteInterval(int dimension,
T end,
G generatingCycle)
This function adds the specified semi-infinite interval {-infinity, end}
at the supplied dimension.
|
void |
addRightInfiniteInterval(int dimension,
T start,
G generatingCycle)
This function adds the specified semi-infinite interval {start, infinity}
at the supplied dimension.
|
AnnotatedBarcodeCollection<T,G> |
filterByMaxDimension(int maxDimension) |
static <G> AnnotatedBarcodeCollection<java.lang.Integer,G> |
filterEvenIntervals(AnnotatedBarcodeCollection<java.lang.Integer,G> collection) |
AnnotatedBarcodeCollection<T,G> |
filterPositiveMeasureIntervals() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getBettiNumbersMap(T point) |
AnnotatedBarcodeCollection<T,G> |
getInfiniteIntervals() |
void |
setLeftClosedDefault(boolean value)
This function sets the property that determines whether the left endpoint
of created intervals is closed or not.
|
void |
setRightClosedDefault(boolean value)
This function sets the property that determines whether the right endpoint
of created intervals is closed or not.
|
addInterval, equals, getBettiNumbers, getBettiSequence, getDimensions, getGeneratorIterator, getGeneratorsAtDimension, getIntervalGeneratorPairIterator, getIntervalGeneratorPairsAtDimension, getIntervalIterator, getIntervalsAtDimension, hashCode, iterator, toString, unionprotected boolean useLeftClosedDefault
protected boolean useRightClosedDefault
public void setLeftClosedDefault(boolean value)
value - public void setRightClosedDefault(boolean value)
value - public void addInterval(int dimension,
T start,
T end,
G generatingCycle)
dimension - the dimension to add tostart - the starting point of the intervalend - the ending point of the intervalgeneratingCycle - the generating cyclepublic void addRightInfiniteInterval(int dimension,
T start,
G generatingCycle)
dimension - the dimension to add tostart - the starting point of the intervalgeneratingCycle - the generating cyclepublic void addLeftInfiniteInterval(int dimension,
T end,
G generatingCycle)
dimension - the dimension to add toend - the ending point of the intervalgeneratingCycle - the generating cyclepublic AnnotatedBarcodeCollection<T,G> getInfiniteIntervals()
public java.util.Map<java.lang.Integer,java.lang.Integer> getBettiNumbersMap(T point)
public AnnotatedBarcodeCollection<T,G> filterByMaxDimension(int maxDimension)
public AnnotatedBarcodeCollection<T,G> filterPositiveMeasureIntervals()
public static <G> AnnotatedBarcodeCollection<java.lang.Integer,G> filterEvenIntervals(AnnotatedBarcodeCollection<java.lang.Integer,G> collection)