Class managing the representative cycles for Chain_matrix if the option was enabled. More...
#include <gudhi/Persistence_matrix/chain_rep_cycles.h>
Public Types | |
| using | Bar = typename Master_matrix::Bar |
| using | Cycle = typename Master_matrix::Cycle |
| using | Column_container = typename Master_matrix::Column_container |
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 > & | 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 & | 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 instantiation 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 >::Column_container = typename Master_matrix::Column_container |
Column container type.
| using Gudhi::persistence_matrix::Chain_representative_cycles< Master_matrix >::Cycle = typename Master_matrix::Cycle |
Cycle 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.