TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ttk::PersistencePair Struct Reference

Persistence Pair. More...

#include <PersistenceDiagramUtils.h>

Public Member Functions

bool operator< (const PersistencePair &rhs) const
 Order pairs according to their birth value.
 
double persistence () const
 Return the topological persistence of the pair.
 

Public Attributes

ttk::CriticalVertex birth
 
ttk::CriticalVertex death
 
ttk::SimplexId dim
 
bool isFinite
 

Detailed Description

Persistence Pair.

Definition at line 28 of file PersistenceDiagramUtils.h.

Member Function Documentation

◆ operator<()

bool ttk::PersistencePair::operator< ( const PersistencePair rhs) const
inline

Order pairs according to their birth value.

Definition at line 43 of file PersistenceDiagramUtils.h.

◆ persistence()

double ttk::PersistencePair::persistence ( ) const
inline

Return the topological persistence of the pair.

Definition at line 50 of file PersistenceDiagramUtils.h.

Member Data Documentation

◆ birth

ttk::CriticalVertex ttk::PersistencePair::birth

pair birth

Definition at line 30 of file PersistenceDiagramUtils.h.

◆ death

ttk::CriticalVertex ttk::PersistencePair::death

pair death

Definition at line 32 of file PersistenceDiagramUtils.h.

◆ dim

ttk::SimplexId ttk::PersistencePair::dim

pair dimension

Definition at line 34 of file PersistenceDiagramUtils.h.

◆ isFinite

bool ttk::PersistencePair::isFinite

to help distinguish homology classes with infinite persistence (connected components, topological handles or cavities in the domain)

Definition at line 38 of file PersistenceDiagramUtils.h.


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