TTK
Loading...
Searching...
No Matches
ttk::RipsPersistenceGenerators Class Reference

TTK base class that computes 1-dimensional persistence generators in a Rips filtration. More...

#include <RipsPersistenceGenerators.h>

Inheritance diagram for ttk::RipsPersistenceGenerators:
ttk::Debug ttk::BaseClass ttkRipsPersistenceGenerators

Public Member Functions

 RipsPersistenceGenerators ()
 
void execute (const std::vector< std::vector< double > > &points, rpd::MultidimensionalDiagram &diagrams, std::vector< rpd::Generator1 > &generators) const
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Protected Attributes

double SimplexMaximumDiameter {rpd::inf}
 
bool InputIsDistanceMatrix {false}
 
bool OutputCascade {false}
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

TTK base class that computes 1-dimensional persistence generators in a Rips filtration.

Author
Mattéo Clémot matte.nosp@m.o.cl.nosp@m.emot@.nosp@m.univ.nosp@m.-lyon.nosp@m.1.fr
Date
June 2024.

This module defines the RipsPersistenceGenerators that takes a point cloud and computes 1-dimensional persistence generators, in addition to the associated persistence diagram, of its Rips filtration. It can also compute topologically critical edges and persistent cascades of this Rips filtration

See also
ttkRipsPersistenceGenerators.cpp for a usage example.

Definition at line 25 of file RipsPersistenceGenerators.h.

Constructor & Destructor Documentation

◆ RipsPersistenceGenerators()

ttk::RipsPersistenceGenerators::RipsPersistenceGenerators ( )

Definition at line 3 of file RipsPersistenceGenerators.cpp.

Member Function Documentation

◆ execute()

void ttk::RipsPersistenceGenerators::execute ( const std::vector< std::vector< double > > & points,
rpd::MultidimensionalDiagram & diagrams,
std::vector< rpd::Generator1 > & generators ) const
inline

Definition at line 28 of file RipsPersistenceGenerators.h.

Member Data Documentation

◆ InputIsDistanceMatrix

bool ttk::RipsPersistenceGenerators::InputIsDistanceMatrix {false}
protected

is input a distance matrix

Definition at line 57 of file RipsPersistenceGenerators.h.

◆ OutputCascade

bool ttk::RipsPersistenceGenerators::OutputCascade {false}
protected

output cascade

Definition at line 59 of file RipsPersistenceGenerators.h.

◆ SimplexMaximumDiameter

double ttk::RipsPersistenceGenerators::SimplexMaximumDiameter {rpd::inf}
protected

Rips diameter threshold

Definition at line 55 of file RipsPersistenceGenerators.h.


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