TTK
Loading...
Searching...
No Matches
ttk::rpd Namespace Reference

Classes

class  BoundaryContainer
 
struct  FiltratedEdge
 
struct  FiltratedQuadEdge
 
struct  FiltratedTriangle
 
class  PairCells
 TTK base class that executes the PairCells persistence algorithm on a Rips complex. More...
 
class  PairCellsWithOracle
 TTK base class that partially executes on a Rips complex the PairCells persistence algorithm where needed, when the persistence pairs are already known. More...
 
class  UnionFind
 

Typedefs

using id_t = int
 
using value_t = double
 
using PointCloud = std::vector<std::vector<value_t>>
 
using Simplex = std::vector<id_t>
 
using FiltratedSimplex = std::pair<Simplex, value_t>
 
using PersistencePair = std::pair<FiltratedSimplex, FiltratedSimplex>
 
using Diagram = std::vector<PersistencePair>
 
using MultidimensionalDiagram = std::vector<Diagram>
 
using Edge = std::pair<id_t, id_t>
 
using EdgeSet = std::vector<Edge>
 
using EdgeSets3 = std::array<EdgeSet, 3>
 
using EdgeSets4 = std::array<EdgeSet, 4>
 
using Cascade = EdgeSet
 
using Facet = std::array<id_t, 3>
 
using Generator1 = std::pair<std::vector<Edge>, std::pair<value_t, value_t>>
 
using Generator2 = std::pair<std::vector<Facet>, std::pair<value_t, value_t>>
 

Enumerations

enum  CRIT { DEATH0 , BIRTH1 , DEATH1 , CASC1 }
 

Functions

FiltratedEdge max (const FiltratedEdge &a, const FiltratedEdge &b)
 
bool operator< (const FiltratedEdge &e1, const FiltratedEdge &e2)
 
bool operator< (const FiltratedTriangle &f1, const FiltratedTriangle &f2)
 

Variables

constexpr value_t inf = std::numeric_limits<value_t>::infinity()
 

Detailed Description

Typedef Documentation

◆ Cascade

Definition at line 30 of file RipsPersistenceDiagramUtils.h.

◆ Diagram

using ttk::rpd::Diagram = std::vector<PersistencePair>

Definition at line 22 of file RipsPersistenceDiagramUtils.h.

◆ Edge

using ttk::rpd::Edge = std::pair<id_t, id_t>

Definition at line 25 of file RipsPersistenceDiagramUtils.h.

◆ EdgeSet

using ttk::rpd::EdgeSet = std::vector<Edge>

Definition at line 26 of file RipsPersistenceDiagramUtils.h.

◆ EdgeSets3

using ttk::rpd::EdgeSets3 = std::array<EdgeSet, 3>

Definition at line 27 of file RipsPersistenceDiagramUtils.h.

◆ EdgeSets4

using ttk::rpd::EdgeSets4 = std::array<EdgeSet, 4>

Definition at line 28 of file RipsPersistenceDiagramUtils.h.

◆ Facet

using ttk::rpd::Facet = std::array<id_t, 3>

Definition at line 32 of file RipsPersistenceDiagramUtils.h.

◆ FiltratedSimplex

Definition at line 20 of file RipsPersistenceDiagramUtils.h.

◆ Generator1

using ttk::rpd::Generator1 = std::pair<std::vector<Edge>, std::pair<value_t, value_t>>

Definition at line 33 of file RipsPersistenceDiagramUtils.h.

◆ Generator2

using ttk::rpd::Generator2 = std::pair<std::vector<Facet>, std::pair<value_t, value_t>>

Definition at line 34 of file RipsPersistenceDiagramUtils.h.

◆ id_t

using ttk::rpd::id_t = int

Definition at line 13 of file RipsPersistenceDiagramUtils.h.

◆ MultidimensionalDiagram

Definition at line 23 of file RipsPersistenceDiagramUtils.h.

◆ PersistencePair

◆ PointCloud

using ttk::rpd::PointCloud = std::vector<std::vector<value_t>>

Definition at line 17 of file RipsPersistenceDiagramUtils.h.

◆ Simplex

using ttk::rpd::Simplex = std::vector<id_t>

Definition at line 19 of file RipsPersistenceDiagramUtils.h.

◆ value_t

using ttk::rpd::value_t = double

Definition at line 14 of file RipsPersistenceDiagramUtils.h.

Enumeration Type Documentation

◆ CRIT

Enumerator
DEATH0 
BIRTH1 
DEATH1 
CASC1 

Definition at line 29 of file RipsPersistenceDiagramUtils.h.

Function Documentation

◆ max()

FiltratedEdge ttk::rpd::max ( const FiltratedEdge & a,
const FiltratedEdge & b )
inline

Definition at line 40 of file RipsPersistenceDiagramUtils.h.

◆ operator<() [1/2]

bool ttk::rpd::operator< ( const FiltratedEdge & e1,
const FiltratedEdge & e2 )
inline

Definition at line 58 of file RipsPersistenceDiagramUtils.h.

◆ operator<() [2/2]

bool ttk::rpd::operator< ( const FiltratedTriangle & f1,
const FiltratedTriangle & f2 )
inline

Definition at line 64 of file RipsPersistenceDiagramUtils.h.

Variable Documentation

◆ inf

value_t ttk::rpd::inf = std::numeric_limits<value_t>::infinity()
constexpr

Definition at line 15 of file RipsPersistenceDiagramUtils.h.