edu.stanford.math.plex4.streams.impl
public class ExplicitCellStream extends ExplicitStream<Cell>
storageStructure| Constructor and Description |
|---|
ExplicitCellStream()
Default constructor.
|
ExplicitCellStream(double maxFiltrationValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(Cell basisElement,
double filtrationValue)
This function adds a basis element the stream with specified filtration index.
|
int |
addNewVertex()
This adds a new vertex to the cell complex.
|
int |
attachNewCell(int dimension,
int[] boundaryIndices)
This adds a new cell to the complex with boundary specified by the supplied
array of cell ids.
|
int |
attachNewCell(int dimension,
int[] boundaryIndices,
int[] boundaryCoefficients)
This adds a new cell to the complex with boundary and boundary coefficients given.
|
int |
attachNewCellToPoint(int dimension,
int pointIndex)
This attaches a n-cell to an existing point in the complex.
|
addAllElements, constructComplex, containsElement, ensureAllFaces, getFiltrationValue, removeElementIfPresent, transformfinalizeStream, getBasisComparator, getBoundary, getBoundaryCoefficients, getDimension, getFiltrationIndex, getMaximumFiltrationIndex, getMinimumFiltrationIndex, getSize, isFinalized, iterator, validate, validateVerbosepublic ExplicitCellStream()
public ExplicitCellStream(double maxFiltrationValue)
public int addNewVertex()
public int attachNewCellToPoint(int dimension,
int pointIndex)
dimension - the dimension of the cell to addpointIndex - the point to attach the boundary topublic int attachNewCell(int dimension,
int[] boundaryIndices)
dimension - the dimension of the cell to addboundaryIndices - an array of cell ids to attach topublic int attachNewCell(int dimension,
int[] boundaryIndices,
int[] boundaryCoefficients)
dimension - the dimension fo the cell to addboundaryIndices - an array of cell ids to attach toboundaryCoefficients - the array of attaching map degreespublic void addElement(Cell basisElement, double filtrationValue)
ExplicitStreamaddElement in class ExplicitStream<Cell>basisElement - the basis element to add