Class managing the representative cycles for RU_matrix if the option was enabled. More...
Public Types | |
using | index = typename Master_matrix::index |
using | Bar = typename Master_matrix::Bar |
using | cycle_type = typename Master_matrix::cycle_type |
Public Member Functions | |
RU_representative_cycles () | |
Default constructor. | |
RU_representative_cycles (const RU_representative_cycles &matrixToCopy) | |
Copy constructor. More... | |
RU_representative_cycles (RU_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... | |
RU_representative_cycles & | operator= (RU_representative_cycles other) |
Assign operator. | |
Friends | |
void | swap (RU_representative_cycles &base1, RU_representative_cycles &base2) |
Swap operator. | |
Class managing the representative cycles for RU_matrix if the option was enabled.
Master_matrix | An instanciation of Matrix from which all types and options are deduced. |
using Gudhi::persistence_matrix::RU_representative_cycles< Master_matrix >::Bar = typename Master_matrix::Bar |
Bar type.
using Gudhi::persistence_matrix::RU_representative_cycles< Master_matrix >::cycle_type = typename Master_matrix::cycle_type |
Cycle type.
using Gudhi::persistence_matrix::RU_representative_cycles< Master_matrix >::index = typename Master_matrix::index |
MatIdx index 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.