Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Representation of a vertex in the Union-Find data structure containing a data. More...
#include <Union_find.hpp>
Public Types | |
typedef std::size_t | UF_index_type |
Index type representing a vertex in the Union-Find data structure. More... | |
Constructors | |
T_Union_find_vertex_data_structure_contains (void) | |
Constructs a default vertex with an empty attached data. More... | |
T_Union_find_vertex_data_structure_contains (T data) | |
Constructs a default vertex with an attached data. More... | |
Accessors | |
const T | data (void) const |
Const access to the attached data. More... | |
T | data (void) |
Access to the attached data. More... | |
Accessors | |
bool | is_valid_union_find_index (void) const |
check that the index of the vertex has been initialized More... | |
UF_index_type | get_union_find_index (void) const |
Access to the Union-Find index. More... | |
Representation of a vertex in the Union-Find data structure containing a data.
A copy of the data is created in the vertex. It is possible to use a reference or a pointer type for copying the reference or the pointer instead of the data itself.
T | Type of data. The type has to be default and copy constructible. |
|
inherited |
Index type representing a vertex in the Union-Find data structure.
|
inline |
Constructs a default vertex with an empty attached data.
|
inline |
Constructs a default vertex with an attached data.
|
inline |
Access to the attached data.
|
inline |
Const access to the attached data.
|
inlineinherited |
Access to the Union-Find index.
|
inlineinherited |
check that the index of the vertex has been initialized