Class managing the pivot and partitioning of columns in Chain_matrix. More...
#include <gudhi/Persistence_matrix/columns/chain_column_extra_properties.h>
Public Types | |
| using | Index = typename Master_matrix::Index |
| using | ID_index = typename Master_matrix::ID_index |
Public Member Functions | |
| Chain_column_extra_properties () | |
| Default constructor. Sets the pivot and pair to null index, which means "not existing". | |
| Chain_column_extra_properties (ID_index pivot) | |
| Constructor setting the pivot at the given value and the pair to null index (i.e. not paired). More... | |
| Chain_column_extra_properties (ID_index pivot, Index pair) | |
| Constructor setting the pivot and the pair at the given values. More... | |
| Chain_column_extra_properties (const Chain_column_extra_properties &col) | |
| Copy constructor. More... | |
| Chain_column_extra_properties (Chain_column_extra_properties &&col) | |
| Move constructor. More... | |
| Index | get_paired_chain_index () const |
| Returns null index if the column is not paired, the MatIdx of the pair otherwise. More... | |
| bool | is_paired () const |
| Indicates if the column is paired or not. More... | |
| void | assign_paired_chain (Index other_col) |
| Sets the value of the pair. More... | |
| void | unassign_paired_chain () |
| Un-pairs a column. | |
| Chain_column_extra_properties & | operator= (const Chain_column_extra_properties &other) |
| Assign operator. | |
Friends | |
| void | swap (Chain_column_extra_properties &col1, Chain_column_extra_properties &col2) |
| Swap operator. | |
Class managing the pivot and partitioning of columns in Chain_matrix.
The columns of a chain matrix are partitioned in three sets: \( F \), \( G \) and \( H \) with a bijection between \( G \) and \( H \). If a column is in \( F \), the value of Chain_column_extra_properties::pairedColumn_ is null index, while the value corresponds to the MatIdx index of the image of the bijection if the column is in either \( G \) or \( H \). See [41] for more details.
| Master_matrix | An instantiation of Matrix from which all types and options are deduced. |
| using Gudhi::persistence_matrix::Chain_column_extra_properties< Master_matrix >::ID_index = typename Master_matrix::ID_index |
IDIdx index type.
| using Gudhi::persistence_matrix::Chain_column_extra_properties< Master_matrix >::Index = typename Master_matrix::Index |
MatIdx index type.
|
inline |
Constructor setting the pivot at the given value and the pair to null index (i.e. not paired).
|
inline |
|
inline |
Copy constructor.
| col | Column to copy. |
|
inline |
Move constructor.
| col | Column to move. |
|
inline |
Sets the value of the pair.
| other_col | MatIdx of the pair column. |
|
inline |
Returns null index if the column is not paired, the MatIdx of the pair otherwise.
|
inline |
Indicates if the column is paired or not.