|
TTK
|
#include <TopologicalOptimization.h>
Public Member Functions | |
| TopologicalOptimization () | |
| template<typename dataType , typename triangulationType > | |
| int | execute (const dataType *const inputScalars, dataType *const outputScalars, SimplexId *const inputOffsets, triangulationType *triangulation, const ttk::DiagramType &constraintDiagram) const |
| int | preconditionTriangulation (AbstractTriangulation *triangulation) |
| template<typename dataType , typename triangulationType > | |
| void | getIndices (triangulationType *triangulation, SimplexId *&inputOffsets, dataType *const inputScalars, const ttk::DiagramType &constraintDiagram, int epoch, std::vector< SimplexId > &listAllIndicesToChange, std::vector< std::vector< SimplexId > > &pair2MatchedPair, std::vector< std::vector< SimplexId > > &pair2Delete, std::vector< SimplexId > &pairChangeMatchingPair, std::vector< SimplexId > &birthPairToDeleteCurrentDiagram, std::vector< double > &birthPairToDeleteTargetDiagram, std::vector< SimplexId > &deathPairToDeleteCurrentDiagram, std::vector< double > &deathPairToDeleteTargetDiagram, std::vector< SimplexId > &birthPairToChangeCurrentDiagram, std::vector< double > &birthPairToChangeTargetDiagram, std::vector< SimplexId > &deathPairToChangeCurrentDiagram, std::vector< double > &deathPairToChangeTargetDiagram, std::vector< std::vector< SimplexId > > ¤tVertex2PairsCurrentDiagram, std::vector< int > &vertexInHowManyPairs) const |
| void | setUseFastPersistenceUpdate (bool UseFastPersistenceUpdate) |
| void | setFastAssignmentUpdate (bool FastAssignmentUpdate) |
| void | setEpochNumber (int EpochNumber) |
| void | setPDCMethod (int PDCMethod) |
| void | setMethodOptimization (int methodOptimization) |
| void | setFinePairManagement (int finePairManagement) |
| void | setChooseLearningRate (int chooseLearningRate) |
| void | setLearningRate (double learningRate) |
| void | setAlpha (double alpha) |
| void | setCoefStopCondition (double coefStopCondition) |
| void | setOptimizationWithoutMatching (bool optimizationWithoutMatching) |
| void | setThresholdMethod (int thresholdMethod) |
| void | setThresholdPersistence (double thresholdPersistence) |
| void | setLowerThreshold (int lowerThreshold) |
| void | setUpperThreshold (int upperThreshold) |
| void | setPairTypeToDelete (int pairTypeToDelete) |
| void | setConstraintAveraging (bool ConstraintAveraging) |
| void | setPrintFrequency (int printFrequency) |
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 | |
| SimplexId | vertexNumber_ {} |
| int | epochNumber_ |
| bool | useFastPersistenceUpdate_ |
| bool | fastAssignmentUpdate_ |
| int | pdcMethod_ |
| int | methodOptimization_ |
| int | finePairManagement_ |
| bool | chooseLearningRate_ |
| double | learningRate_ |
| double | alpha_ |
| double | coefStopCondition_ |
| bool | optimizationWithoutMatching_ |
| int | thresholdMethod_ |
| double | thresholdPersistence_ |
| int | lowerThreshold_ |
| int | upperThreshold_ |
| int | pairTypeToDelete_ |
| bool | constraintAveraging_ |
| int | printFrequency_ {10} |
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 |
Definition at line 22 of file TopologicalOptimization.h.
| ttk::TopologicalOptimization::TopologicalOptimization | ( | ) |
Definition at line 3 of file TopologicalOptimization.cpp.
| int ttk::TopologicalOptimization::execute | ( | const dataType *const | inputScalars, |
| dataType *const | outputScalars, | ||
| SimplexId *const | inputOffsets, | ||
| triangulationType * | triangulation, | ||
| const ttk::DiagramType & | constraintDiagram | ||
| ) | const |
Definition at line 1044 of file TopologicalOptimization.h.
| void ttk::TopologicalOptimization::getIndices | ( | triangulationType * | triangulation, |
| SimplexId *& | inputOffsets, | ||
| dataType *const | inputScalars, | ||
| const ttk::DiagramType & | constraintDiagram, | ||
| int | epoch, | ||
| std::vector< SimplexId > & | listAllIndicesToChange, | ||
| std::vector< std::vector< SimplexId > > & | pair2MatchedPair, | ||
| std::vector< std::vector< SimplexId > > & | pair2Delete, | ||
| std::vector< SimplexId > & | pairChangeMatchingPair, | ||
| std::vector< SimplexId > & | birthPairToDeleteCurrentDiagram, | ||
| std::vector< double > & | birthPairToDeleteTargetDiagram, | ||
| std::vector< SimplexId > & | deathPairToDeleteCurrentDiagram, | ||
| std::vector< double > & | deathPairToDeleteTargetDiagram, | ||
| std::vector< SimplexId > & | birthPairToChangeCurrentDiagram, | ||
| std::vector< double > & | birthPairToChangeTargetDiagram, | ||
| std::vector< SimplexId > & | deathPairToChangeCurrentDiagram, | ||
| std::vector< double > & | deathPairToChangeTargetDiagram, | ||
| std::vector< std::vector< SimplexId > > & | currentVertex2PairsCurrentDiagram, | ||
| std::vector< int > & | vertexInHowManyPairs | ||
| ) | const |
Definition at line 230 of file TopologicalOptimization.h.
|
inline |
Definition at line 33 of file TopologicalOptimization.h.
|
inline |
Definition at line 109 of file TopologicalOptimization.h.
|
inline |
Definition at line 101 of file TopologicalOptimization.h.
|
inline |
Definition at line 113 of file TopologicalOptimization.h.
|
inline |
Definition at line 142 of file TopologicalOptimization.h.
|
inline |
Definition at line 85 of file TopologicalOptimization.h.
|
inline |
Definition at line 81 of file TopologicalOptimization.h.
|
inline |
Definition at line 97 of file TopologicalOptimization.h.
|
inline |
Definition at line 105 of file TopologicalOptimization.h.
|
inline |
Definition at line 130 of file TopologicalOptimization.h.
|
inline |
Definition at line 93 of file TopologicalOptimization.h.
|
inline |
Definition at line 118 of file TopologicalOptimization.h.
|
inline |
Definition at line 138 of file TopologicalOptimization.h.
|
inline |
Definition at line 89 of file TopologicalOptimization.h.
|
inline |
Definition at line 146 of file TopologicalOptimization.h.
|
inline |
Definition at line 122 of file TopologicalOptimization.h.
|
inline |
Definition at line 126 of file TopologicalOptimization.h.
|
inline |
Definition at line 134 of file TopologicalOptimization.h.
|
inline |
Definition at line 77 of file TopologicalOptimization.h.
|
protected |
Definition at line 179 of file TopologicalOptimization.h.
|
protected |
Definition at line 174 of file TopologicalOptimization.h.
|
protected |
Definition at line 184 of file TopologicalOptimization.h.
|
protected |
Definition at line 205 of file TopologicalOptimization.h.
|
protected |
Definition at line 152 of file TopologicalOptimization.h.
|
protected |
Definition at line 158 of file TopologicalOptimization.h.
|
protected |
Definition at line 171 of file TopologicalOptimization.h.
|
protected |
Definition at line 175 of file TopologicalOptimization.h.
|
protected |
Definition at line 197 of file TopologicalOptimization.h.
|
protected |
Definition at line 166 of file TopologicalOptimization.h.
|
protected |
Definition at line 187 of file TopologicalOptimization.h.
|
protected |
Definition at line 203 of file TopologicalOptimization.h.
|
protected |
Definition at line 162 of file TopologicalOptimization.h.
|
protected |
Definition at line 207 of file TopologicalOptimization.h.
|
protected |
Definition at line 191 of file TopologicalOptimization.h.
|
protected |
Definition at line 194 of file TopologicalOptimization.h.
|
protected |
Definition at line 200 of file TopologicalOptimization.h.
|
protected |
Definition at line 155 of file TopologicalOptimization.h.
|
protected |
Definition at line 151 of file TopologicalOptimization.h.