Gudhi::persistence_matrix::Chain_pairing< Master_matrix > Class Template Reference

Class managing the barcode for Chain_matrix if the option was enabled. More...

Public Types

using barcode_type = typename Master_matrix::barcode_type
 
using dimension_type = typename Master_matrix::dimension_type
 

Public Member Functions

 Chain_pairing ()
 Default constructor.
 
 Chain_pairing (const Chain_pairing &matrixToCopy)
 Copy constructor. More...
 
 Chain_pairing (Chain_pairing &&other) noexcept
 Move constructor. More...
 
const barcode_typeget_current_barcode () const
 Returns the current barcode which is maintained at any insertion, removal or vine swap. More...
 
Chain_pairingoperator= (Chain_pairing other)
 Assign operator.
 

Friends

void swap (Chain_pairing &pairing1, Chain_pairing &pairing2)
 Swap operator.
 

Detailed Description

template<class Master_matrix>
class Gudhi::persistence_matrix::Chain_pairing< Master_matrix >

Class managing the barcode for Chain_matrix if the option was enabled.

Template Parameters
Master_matrixAn instanciation of Matrix from which all types and options are deduced.

Member Typedef Documentation

◆ barcode_type

template<class Master_matrix >
using Gudhi::persistence_matrix::Chain_pairing< Master_matrix >::barcode_type = typename Master_matrix::barcode_type

Barcode type.

◆ dimension_type

template<class Master_matrix >
using Gudhi::persistence_matrix::Chain_pairing< Master_matrix >::dimension_type = typename Master_matrix::dimension_type

Dimension value type.

Constructor & Destructor Documentation

◆ Chain_pairing() [1/2]

template<class Master_matrix >
Gudhi::persistence_matrix::Chain_pairing< Master_matrix >::Chain_pairing ( const Chain_pairing< Master_matrix > &  matrixToCopy)
inline

Copy constructor.

Parameters
matrixToCopyMatrix to copy.

◆ Chain_pairing() [2/2]

template<class Master_matrix >
Gudhi::persistence_matrix::Chain_pairing< Master_matrix >::Chain_pairing ( Chain_pairing< Master_matrix > &&  other)
inlinenoexcept

Move constructor.

Parameters
otherMatrix to move.

Member Function Documentation

◆ get_current_barcode()

template<class Master_matrix >
const Chain_pairing< Master_matrix >::barcode_type & Gudhi::persistence_matrix::Chain_pairing< Master_matrix >::get_current_barcode
inline

Returns the current barcode which is maintained at any insertion, removal or vine swap.

Returns
Const reference to the barcode.

The documentation for this class was generated from the following file: