Data structure to store a cell in a Hasse diagram. More...
Public Member Functions | |
Hasse_diagram_cell () | |
Hasse_diagram_cell (int dim) | |
Hasse_diagram_cell (int dim, Filtration_type filt_) | |
Hasse_diagram_cell (const Cell_range &boundary_, int dim) | |
Hasse_diagram_cell (const Cell_range &boundary_, const Cell_range &coboundary_, int dim) | |
Hasse_diagram_cell (const Cell_range &boundary_, const Cell_range &coboundary_, const Additional_information &ai, int dim) | |
Hasse_diagram_cell (Additional_information ai, int dim) | |
Cell_range & | get_boundary () |
Cell_range & | get_coBoundary () |
int & | get_dimension () |
Additional_information & | get_additional_information () |
unsigned & | get_position () |
Filtration_type & | get_filtration () |
bool | deleted () |
void | remove_deleted_elements_from_boundary_and_coboundary () |
std::vector< Hasse_diagram_cell * > | get_list_of_boundary_elements () |
std::vector< unsigned > | get_list_of_positions_of_boundary_elements () |
std::string | full_signature_of_the_structure () |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Hasse_diagram_cell< Incidence_type, Filtration_type, Additional_information > &c) |
Data structure to store a cell in a Hasse diagram.
The use and interfaces of this Hasse diagram cell is limited to the Coxeter triangulation implementation.
This is a data structure to store a cell in a general Hasse diagram data structure. It stores the following information about the cell: References to boundary and coBoundary elements, dimension of a cell and its filtration. It also allow to store any additional information of a type Additional_information which is a template parameter of the class (set by default to void).
The complex is a template class requiring the following parameters: Incidence_type_ - determine the type of incidence coefficients. Use integers in most general case. Filtration_type_ - type of filtration of cells. Additional_information_ (set by default to void) - allows to store any additional information in the cells of Hasse diagrams.
|
inline |
Default constructor.
|
inline |
Constructor of a cell of dimension dim.
|
inline |
Constructor of a cell of dimension dim.
|
inline |
Constructor of a cell of dimension dim with a given boundary.
|
inline |
Constructor of a cell of dimension dim with a given boundary and coboundary.
|
inline |
Constructor of a cell of dimension dim with a given boundary, coboundary and additional information.
|
inline |
Constructor of a cell of dimension dim having given additional information.
|
inline |
A procedure used to check if the cell is deleted. It is used by the subsequent implementation of Hasse diagram that is absed on lazy delete.
|
inline |
Function that display a string being a signature of a structure. Used mainly for debugging purposes.
|
inline |
Procedure to get additional information about the cell.s
|
inline |
Procedure to get the boundary of a fiven cell. The output format is a vector of pairs of pointers to boundary elements and incidence coefficients.
|
inline |
Procedure to get the coboundary of a fiven cell. The output format is a vector of pairs of pointers to coboundary elements and incidence coefficients.
|
inline |
Procedure to get the dimension of a cell.
|
inline |
Accessing the filtration of the cell.
|
inline |
Procedure that return vector of pointers to boundary elements of a given cell.
|
inline |
Procedure that return vector of positios of boundary elements of a given cell.
|
inline |
Procedure to retrieve the position of the cell in the structure. It is used in the implementation of Hasse diagram and set by it. Note that removal of cell and subsequent call of clean_up_the_structure will change those positions.
|
inline |
Procedure to remove deleted boundary and coboundary elements from the vectors of boundary and coboundary elements of this cell.
|
friend |
Writing to a stream operator.