47 using triplet = std::tuple<ttk::SimplexId, ttk::SimplexId, ttk::SimplexId>;
104 = std::array<std::vector<std::pair<SimplexId, SimplexId>>,
nLink_>;
110 const std::vector<std::pair<polarity, polarity>> &vlp,
115 const std::vector<std::pair<polarity, polarity>> &vlp,
117 std::vector<polarity> &toPropagateMin,
118 std::vector<polarity> &toPropagateMax,
119 std::vector<std::vector<SimplexId>> &saddleCCMin,
120 std::vector<std::vector<SimplexId>> &saddleCCMax)
const;
124 std::vector<triplet> &triplets,
125 const std::vector<std::vector<SimplexId>> &vertexReps)
const;
128 std::vector<std::pair<polarity, polarity>> &vlp)
const;
Minimalist debugging class.
void setDebugMsgPrefix(const std::string &prefix)
Implements the Dynamic Tree data-structure (or ST-Tree)
ImplicitTriangulation is a class that provides time and memory efficient traversal methods on triangu...
TTK processing package for progressive Topological Data Analysis.
void setStoppingResolutionLevel(int rl)
void setupTriangulation(ImplicitTriangulation *const data)
int startingDecimationLevel_
void setStartingResolutionLevel(int rl)
std::string resolutionInfoString()
MultiresTriangulation multiresTriangulation_
std::vector< PersistencePair > CTDiagram_
void buildVertexLinkByBoundary(const SimplexId vertexId, VLBoundaryType &vlbt) const
ImplicitTriangulation * triangulation_
char getCriticalTypeFromLink(const std::vector< std::pair< polarity, polarity > > &vlp, DynamicTree &link) const
virtual void setPreallocateMemory(const bool b)
int stoppingDecimationLevel_
virtual void setStartingDecimationLevel(int data)
static const size_t nLink_
virtual void setStoppingDecimationLevel(int data)
int getStoppingDecimationLevel()
void getValencesFromLink(const SimplexId vertexId, const std::vector< std::pair< polarity, polarity > > &vlp, DynamicTree &link, std::vector< polarity > &toPropagateMin, std::vector< polarity > &toPropagateMax, std::vector< std::vector< SimplexId > > &saddleCCMin, std::vector< std::vector< SimplexId > > &saddleCCMax) const
std::array< std::vector< std::pair< SimplexId, SimplexId > >, nLink_ > VLBoundaryType
void getTripletsFromSaddles(const SimplexId vertexId, std::vector< triplet > &triplets, const std::vector< std::vector< SimplexId > > &vertexReps) const
void updateLinkPolarityPonctual(std::vector< std::pair< polarity, polarity > > &vlp) const
void setTriangulation(ImplicitTriangulation *triangulation)
std::tuple< ttk::SimplexId, ttk::SimplexId, ttk::SimplexId > triplet
Persistence pair type (with persistence in double)
int SimplexId
Identifier type for simplices of any dimension.
PersistencePair(const SimplexId b, const SimplexId d, const SimplexId pType)
PersistencePair()=default