TTK
|
Functions | |
void | fixTreePrecisionScalars (ftm::MergeTree< float > &mTree) |
Fix the scalars of a merge tree to ensure that the nesting condition is respected. | |
void | adjustNestingScalars (std::vector< float > &scalarsVector, ftm::idNode node, ftm::idNode refNode) |
Fix the scalars of a merge tree to ensure that the nesting condition is respected. | |
void | createBalancedBDT (std::vector< std::vector< ftm::idNode > > &parents, std::vector< std::vector< ftm::idNode > > &children, std::vector< float > &scalarsVector, std::vector< std::vector< ftm::idNode > > &childrenFinal, int threadNumber=1) |
Create a balanced BDT structure (for output basis initialization). | |
void | printPairs (ftm::MergeTree< float > &mTree, bool useBD=true) |
Util function to print pairs of a merge tree. | |
void ttk::wae::adjustNestingScalars | ( | std::vector< float > & | scalarsVector, |
ftm::idNode | node, | ||
ftm::idNode | refNode | ||
) |
Fix the scalars of a merge tree to ensure that the nesting condition is respected.
[in] | scalarsVector | scalars array to process. |
[in] | node | node to adjust. |
[in] | refNode | reference node. |
Definition at line 55 of file MergeTreeAutoencoderUtils.cpp.
void ttk::wae::createBalancedBDT | ( | std::vector< std::vector< ftm::idNode > > & | parents, |
std::vector< std::vector< ftm::idNode > > & | children, | ||
std::vector< float > & | scalarsVector, | ||
std::vector< std::vector< ftm::idNode > > & | childrenFinal, | ||
int | threadNumber = 1 |
||
) |
Create a balanced BDT structure (for output basis initialization).
[in] | parents | vector containing the possible parents for each node. |
[in] | children | vector containing the possible children for each node. |
[in] | scalarsVector | vector containing the scalars value. |
[out] | childrenFinal | output vector containing the children of each node, representing the tree structure. |
[in] | threadNumber | number of threads for parallel sort. |
Definition at line 81 of file MergeTreeAutoencoderUtils.cpp.
void ttk::wae::fixTreePrecisionScalars | ( | ftm::MergeTree< float > & | mTree | ) |
Fix the scalars of a merge tree to ensure that the nesting condition is respected.
[in] | mTree | Merge tree to process. |
Definition at line 3 of file MergeTreeAutoencoderUtils.cpp.
void ttk::wae::printPairs | ( | ftm::MergeTree< float > & | mTree, |
bool | useBD = true |
||
) |
Util function to print pairs of a merge tree.
[in] | mTree | merge tree to process. |
[in] | useBD | if the merge tree is in branch decomposition mode or not. |
Definition at line 371 of file MergeTreeAutoencoderUtils.cpp.