18 if(treeType == TreeType::Join or treeType == TreeType::Contour) {
25 int const degree = upDegree + downDegree;
44 std::vector<PersistencePair> &diagram,
const SimplexId *
const offsets)
const {
47 return offsets[a.
birth.
id] < offsets[b.birth.id];
50 std::sort(diagram.begin(), diagram.end(), cmp);
void setDebugMsgPrefix(const std::string &prefix)
int getNumberOfDownSuperArcs() const
int getNumberOfUpSuperArcs() const
void sortPersistenceDiagram(std::vector< PersistencePair > &diagram, const SimplexId *const offsets) const
ttk::CriticalType getNodeType(ftm::FTMTree_MT *tree, ftm::TreeType treeType, const SimplexId vertexId) const
Node * vertex2Node(const SimplexId vert)
CriticalType
default value for critical index
int SimplexId
Identifier type for simplices of any dimension.
ttk::CriticalVertex birth