edu.stanford.math.plex4.homology.filtration
public abstract class FiltrationConverter extends java.lang.Object implements edu.stanford.math.primitivelib.autogen.functional.ObjectObjectFunction<Interval<java.lang.Integer>,Interval<java.lang.Double>>
Constructor and Description |
---|
FiltrationConverter() |
Modifier and Type | Method and Description |
---|---|
abstract double |
computeInducedFiltrationValue(double filtrationValue1,
double filtrationValue2)
This function computes the filtration value that is consistent with the
ordering of filtration indices.
|
Interval<java.lang.Double> |
evaluate(Interval<java.lang.Integer> interval) |
abstract int |
getFiltrationIndex(double filtrationValue)
This function computes the index based on a filtration value.
|
abstract double |
getFiltrationValue(int filtrationIndex)
This function computes the filtration value from a filtration index.
|
abstract double |
getInitialFiltrationValue()
This function returns the filtration at index 0.
|
<G> PersistenceInvariantDescriptor<Interval<java.lang.Double>,G> |
transform(PersistenceInvariantDescriptor<Interval<java.lang.Integer>,G> invariantDescriptor) |
public abstract int getFiltrationIndex(double filtrationValue)
filtrationValue
- the value to convertpublic abstract double getFiltrationValue(int filtrationIndex)
filtrationIndex
- the index to convertpublic abstract double computeInducedFiltrationValue(double filtrationValue1, double filtrationValue2)
filtrationValue1
- filtrationValue2
- public abstract double getInitialFiltrationValue()
public <G> PersistenceInvariantDescriptor<Interval<java.lang.Double>,G> transform(PersistenceInvariantDescriptor<Interval<java.lang.Integer>,G> invariantDescriptor)