Cubical complex represented as a bitmap. More...
Classes | |
| class | Filtration_simplex_range |
| Filtration_simplex_range provides the ranges for Filtration_simplex_iterator. More... | |
| class | Skeleton_simplex_range |
| Class needed for compatibility with Gudhi. Not useful for other purposes. More... | |
Public Types | |
| typedef std::vector< Simplex_handle >::iterator | Boundary_simplex_iterator |
Public Member Functions | |
| Bitmap_cubical_complex (const char *perseus_style_file) | |
| Bitmap_cubical_complex (const std::vector< unsigned > &dimensions, const std::vector< Filtration_value > &top_dimensional_cells) | |
| Bitmap_cubical_complex (const std::vector< unsigned > &dimensions, const std::vector< Filtration_value > &top_dimensional_cells, std::vector< bool > directions_in_which_periodic_b_cond_are_to_be_imposed) | |
| virtual | ~Bitmap_cubical_complex () |
| std::size_t | num_simplices () const |
| std::size_t | dimension () const |
| unsigned | dimension (Simplex_handle sh) const |
| Filtration_value | filtration (Simplex_handle sh) |
| Simplex_key | key (Simplex_handle sh) const |
| Simplex_handle | simplex (Simplex_key key) |
| void | assign_key (Simplex_handle sh, Simplex_key key) |
| void | initialize_simplex_associated_to_key () |
| Boundary_simplex_range | boundary_simplex_range (Simplex_handle sh) |
| Filtration_simplex_range | filtration_simplex_range () |
| std::pair< Simplex_handle, Simplex_handle > | endpoints (Simplex_handle sh) |
| Skeleton_simplex_range | skeleton_simplex_range (unsigned dimension) |
Static Public Member Functions | |
| static Simplex_handle | null_simplex () |
| static Simplex_key | null_key () |
Cubical complex represented as a bitmap.
This is a Bitmap_cubical_complex class. It joints a functionalities of Bitmap_cubical_complex_base and Bitmap_cubical_complex_periodic_boundary_conditions_base classes into Gudhi persistent homology engine. It is a template class that inherit from its template parameter. The template parameter is supposed to be either Bitmap_cubical_complex_base or Bitmap_cubical_complex_periodic_boundary_conditions_base class.
| typedef std::vector<Simplex_handle>::iterator Gudhi::cubical_complex::Bitmap_cubical_complex< T >::Boundary_simplex_iterator |
Boundary_simplex_range class provides ranges for boundary iterators.
|
inline |
Constructor form a Perseus-style file.
|
inline |
Constructor that requires vector of elements of type unsigned, which gives number of top dimensional cells in the following directions and vector of element of a type T with filtration on top dimensional cells.
|
inline |
Constructor that requires vector of elements of type unsigned, which gives number of top dimensional cells in the following directions and vector of element of a type Filtration_value with filtration on top dimensional cells. The last parameter of the constructor is a vector of boolean of a length equal to the dimension of cubical complex. If the position i on this vector is true, then we impose periodic boundary conditions in this direction.
|
inlinevirtual |
Destructor of the Bitmap_cubical_complex class.
|
inline |
Assign key to a cube pointed by the Simplex_handle
|
inline |
boundary_simplex_range creates an object of a Boundary_simplex_range class that provides ranges for the Boundary_simplex_iterator.
|
inline |
Returns dimension of the complex.
|
inline |
Return dimension of a cell pointed by the Simplex_handle.
|
inline |
Function needed for compatibility with Gudhi. Not useful for other purposes.
|
inline |
Return the filtration of a cell pointed by the Simplex_handle.
|
inline |
filtration_simplex_range creates an object of a Filtration_simplex_range class that provides ranges for the Filtration_simplex_iterator.
| void Gudhi::cubical_complex::Bitmap_cubical_complex< T >::initialize_simplex_associated_to_key | ( | ) |
Function called from a constructor. It is needed for Filtration_simplex_iterator to work.
|
inline |
Return the key of a cube pointed by the Simplex_handle.
|
inlinestatic |
Return a key which is not a key of any cube in the considered data structure.
|
inlinestatic |
Returns a Simplex_handle to a cube that do not exist in this complex.
|
inline |
Returns number of all cubes in the complex.
|
inline |
Return the Simplex_handle given the key of the cube.
|
inline |
Function needed for compatibility with Gudhi. Not useful for other purposes.
| GUDHI Version 2.1.0 - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding. - Copyright : GPL v3 | Generated on Wed Jan 31 2018 09:40:55 for GUDHI by Doxygen 1.8.11 |