edu.stanford.math.plex4.streams.impl
T
- the base type of the underlying metric spacepublic class VietorisRipsStream<T> extends FlexibleVietorisRipsStream<T>
This class implements the Vietoris-Rips filtered simplicial complex. A simplex [v_0, ..., v_k] is in VR(r) if and only if the pairwise distances d(v_i, v_j) are less than r for all 0 <= i, j <= k. Thus a Vietoris-Rips complex is fully defined by its 1-skeleton, in that it is the maximal simplicial complex given such a 1-skeleton. For this reason, we simply derive from the FlagComplexStream abstract class, and implement the pairwise thresholding in order to generate the 1-skeleton.
maxDistance, metricSpace
converter, indices, maxAllowableDimension, neighborhoodGraph
storageStructure
Constructor and Description |
---|
VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace,
double[] filtrationValues,
int maxDimension) |
VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace,
double maxDistance,
int maxDimension)
Constructor which initializes the complex with a metric space.
|
VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace,
double maxDistance,
int maxDimension,
int numDivisions) |
VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace,
double maxDistance,
int maxDimension,
int[] indices) |
VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace,
double maxDistance,
int maxDimension,
int numDivisions,
StreamStorageStructure<Simplex> storageStructure) |
constructEdges
addCofaces, constructComplex, getConverter, getFiltrationValue, getNeighborhoodGraph, incrementalExpansion, transform
containsElement, finalizeStream, getBasisComparator, getBoundary, getBoundaryCoefficients, getDimension, getFiltrationIndex, getMaximumFiltrationIndex, getMinimumFiltrationIndex, getSize, isFinalized, iterator, validate, validateVerbose
public VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace, double maxDistance, int maxDimension)
metricSpace
- the metric space to use in the construction of the complexmaxDistance
- the maximum allowable distancemaxDimension
- the maximum dimension of the complexpublic VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace, double maxDistance, int maxDimension, int numDivisions)
public VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace, double maxDistance, int maxDimension, int numDivisions, StreamStorageStructure<Simplex> storageStructure)
public VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace, double maxDistance, int maxDimension, int[] indices)
public VietorisRipsStream(AbstractSearchableMetricSpace<T> metricSpace, double[] filtrationValues, int maxDimension)