edu.stanford.math.plex4.examples
public class SimplicialComplexOperations extends java.lang.Object
Constructor and Description |
---|
SimplicialComplexOperations() |
Modifier and Type | Method and Description |
---|---|
static AbstractFilteredStream<Simplex> |
computeCone(AbstractFilteredStream<Simplex> simplexStream,
int vertexFiltrationIndex)
This function computes the cone of a given filtered simplicial complex.
|
static AbstractFilteredStream<Simplex> |
computeDisjointUnion(AbstractFilteredStream<Simplex> stream1,
AbstractFilteredStream<Simplex> stream2)
This function computes the disjoint union of two filtered simplicial complex.
|
static AbstractFilteredStream<Simplex> |
computeSuspension(AbstractFilteredStream<Simplex> simplexStream,
int vertexFiltrationIndex)
This function computes the suspension of a given filtered simplicial complex.
|
public static AbstractFilteredStream<Simplex> computeCone(AbstractFilteredStream<Simplex> simplexStream, int vertexFiltrationIndex)
simplexStream
- the simplicial complex to compute the cone ofvertexFiltrationIndex
- the filtration index of the vertex point of the conepublic static AbstractFilteredStream<Simplex> computeSuspension(AbstractFilteredStream<Simplex> simplexStream, int vertexFiltrationIndex)
simplexStream
- the simplicial complex to compute the suspension ofvertexFiltrationIndex
- the filtration index of the two newly added verticespublic static AbstractFilteredStream<Simplex> computeDisjointUnion(AbstractFilteredStream<Simplex> stream1, AbstractFilteredStream<Simplex> stream2)
stream1
- the first simplicial complexstream2
- the second simplicial complex