Class managing the representative cycles for Chain_matrix if the option was enabled. More...
Public Types | |
using | Bar = typename Master_matrix::Bar |
using | cycle_type = typename Master_matrix::cycle_type |
using | matrix_type = typename Master_matrix::column_container_type |
Public Member Functions | |
Chain_representative_cycles () | |
Default constructor. | |
Chain_representative_cycles (const Chain_representative_cycles &matrixToCopy) | |
Copy constructor. More... | |
Chain_representative_cycles (Chain_representative_cycles &&other) noexcept | |
Move constructor. More... | |
void | update_representative_cycles () |
Computes the current representative cycles of the matrix. | |
const std::vector< cycle_type > & | get_representative_cycles () |
Returns the current representative cycles. If the matrix is modified later after the first call, update_representative_cycles has to be called to update the returned cycles. More... | |
const cycle_type & | get_representative_cycle (const Bar &bar) |
Returns the representative cycle corresponding to the given bar. If the matrix is modified later after the first call, update_representative_cycles has to be called to update the returned cycles. More... | |
Chain_representative_cycles & | operator= (Chain_representative_cycles other) |
Assign operator. | |
Friends | |
void | swap (Chain_representative_cycles &base1, Chain_representative_cycles &base2) |
Swap operator. | |
Class managing the representative cycles for Chain_matrix if the option was enabled.
Master_matrix | An instanciation of Matrix from which all types and options are deduced. |
using Gudhi::persistence_matrix::Chain_representative_cycles< Master_matrix >::Bar = typename Master_matrix::Bar |
Bar type.
using Gudhi::persistence_matrix::Chain_representative_cycles< Master_matrix >::cycle_type = typename Master_matrix::cycle_type |
Cycle type.
using Gudhi::persistence_matrix::Chain_representative_cycles< Master_matrix >::matrix_type = typename Master_matrix::column_container_type |
Column container type.
|
inline |
Copy constructor.
matrixToCopy | Matrix to copy. |
|
inlinenoexcept |
Move constructor.
other | Matrix to move. |
|
inline |
Returns the representative cycle corresponding to the given bar. If the matrix is modified later after the first call, update_representative_cycles has to be called to update the returned cycles.
bar | Bar corresponding to the wanted representative cycle. |
|
inline |
Returns the current representative cycles. If the matrix is modified later after the first call, update_representative_cycles has to be called to update the returned cycles.