edu.stanford.math.plex4.homology.zigzag.bootstrap
public class WitnessBootstrapper<T> extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected edu.stanford.math.primitivelib.autogen.formal_sum.IntAlgebraicFreeModule<Simplex> |
chainModule |
protected java.util.List<LandmarkSelector<T>> |
indexSelections |
protected edu.stanford.math.primitivelib.autogen.algebraic.IntAbstractField |
intField |
protected int |
maxDimension |
protected double |
maxDistance |
protected AbstractSearchableMetricSpace<T> |
metricSpace |
protected edu.stanford.math.primitivelib.autogen.formal_sum.IntAlgebraicFreeModule<SimplexPair> |
Z_chainModule |
Constructor and Description |
---|
WitnessBootstrapper(AbstractSearchableMetricSpace<T> metricSpace,
double maxDistance,
int maxDimension,
int numSelections,
int selectionSize) |
WitnessBootstrapper(AbstractSearchableMetricSpace<T> metricSpace,
java.util.List<LandmarkSelector<T>> indexSelections,
int maxDimension,
double maxDistance) |
Modifier and Type | Method and Description |
---|---|
LandmarkSelector<T> |
getLandmarkSelector(int index) |
BarcodeCollection<java.lang.Integer> |
performProjectionBootstrap() |
BarcodeCollection<java.lang.Integer> |
performProjectionBootstrap(int[] expectedBettiNumbers) |
protected final AbstractSearchableMetricSpace<T> metricSpace
protected final java.util.List<LandmarkSelector<T>> indexSelections
protected final edu.stanford.math.primitivelib.autogen.algebraic.IntAbstractField intField
protected final edu.stanford.math.primitivelib.autogen.formal_sum.IntAlgebraicFreeModule<Simplex> chainModule
protected final edu.stanford.math.primitivelib.autogen.formal_sum.IntAlgebraicFreeModule<SimplexPair> Z_chainModule
protected final int maxDimension
protected final double maxDistance
public WitnessBootstrapper(AbstractSearchableMetricSpace<T> metricSpace, java.util.List<LandmarkSelector<T>> indexSelections, int maxDimension, double maxDistance)
public WitnessBootstrapper(AbstractSearchableMetricSpace<T> metricSpace, double maxDistance, int maxDimension, int numSelections, int selectionSize)
public LandmarkSelector<T> getLandmarkSelector(int index)
public BarcodeCollection<java.lang.Integer> performProjectionBootstrap()
public BarcodeCollection<java.lang.Integer> performProjectionBootstrap(int[] expectedBettiNumbers)