TTK
|
#include <PersistenceDiagramBarycenter.h>
Public Member Functions | |
PersistenceDiagramBarycenter () | |
~PersistenceDiagramBarycenter () override=default | |
void | execute (std::vector< DiagramType > &intermediateDiagrams, DiagramType &barycenter, std::vector< std::vector< std::vector< MatchingType > > > &all_matchings) |
void | setNumberOfInputs (const int numberOfInputs) |
void | setDeterministic (const bool deterministic) |
void | setWasserstein (const std::string &wasserstein) |
void | setUseProgressive (const bool use_progressive) |
void | setAlpha (const double alpha) |
void | setLambda (const double lambda) |
void | setMethod (const int &method) |
void | setReinitPrices (const bool reinit_prices) |
void | setEpsilonDecreases (const bool epsilon_decreases) |
void | setEarlyStoppage (const bool early_stoppage) |
void | setNonMatchingWeight (const double nonMatchingWeight) |
void | setDeltaLim (double deltaLim) |
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 | |
bool | deterministic_ {true} |
int | method_ |
int | wasserstein_ {2} |
int | numberOfInputs_ {0} |
bool | use_progressive_ {true} |
double | alpha_ {1.0} |
double | lambda_ {1.0} |
double | nonMatchingWeight_ = 1.0 |
double | delta_lim_ {0.01} |
int | points_added_ |
int | points_deleted_ |
std::vector< std::vector< double > > | all_matchings_ |
std::vector< std::vector< double > > | all_old_matchings_ |
std::vector< BidderDiagram > | bidder_diagrams_ |
std::vector< GoodDiagram > | barycenter_goods_ |
bool | reinit_prices_ {true} |
bool | epsilon_decreases_ {true} |
bool | early_stoppage_ |
Protected Attributes inherited from ttk::Debug | |
int | debugLevel_ |
std::string | debugMsgPrefix_ |
std::string | debugMsgNamePrefix_ |
Protected Attributes inherited from ttk::BaseClass | |
bool | lastObject_ |
int | threadNumber_ |
Wrapper * | wrapper_ |
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 |
Related publication
"Progressive Wasserstein Barycenters of Persistence Diagrams"
Jules Vidal, Joseph Budin and Julien Tierny
Proc. of IEEE VIS 2019.
IEEE Transactions on Visualization and Computer Graphics, 2019.
Definition at line 25 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 28 of file PersistenceDiagramBarycenter.h.
|
overridedefault |
void ttk::PersistenceDiagramBarycenter::execute | ( | std::vector< DiagramType > & | intermediateDiagrams, |
DiagramType & | barycenter, | ||
std::vector< std::vector< std::vector< MatchingType > > > & | all_matchings | ||
) |
Definition at line 3 of file PersistenceDiagramBarycenter.cpp.
|
inline |
Definition at line 58 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 89 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 44 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 81 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 74 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 62 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 66 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 85 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 40 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 70 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 52 of file PersistenceDiagramBarycenter.h.
|
inline |
Definition at line 48 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 107 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 108 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 99 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 110 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 109 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 102 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 94 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 114 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 113 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 100 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 95 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 101 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 97 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 104 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 105 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 112 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 98 of file PersistenceDiagramBarycenter.h.
|
protected |
Definition at line 96 of file PersistenceDiagramBarycenter.h.