|
| MergeTreeClustering () |
|
| ~MergeTreeClustering () override=default |
|
void | setNoCentroids (unsigned int noCentroidsT) |
|
void | setMixtureCoefficient (double coef) |
|
std::vector< std::vector< int > > | getTrees2NodeCorr () |
|
template<class dataType > |
void | initCentroids (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< std::vector< ftm::MergeTree< dataType > > > &allCentroids) |
|
template<class dataType > |
void | initNewCentroid (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > ¢roid, int noNewCentroid) |
|
template<class dataType > |
void | initAcceleratedKMeansVectors (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< ftm::FTMTree_MT * > &ttkNotUsed(trees2)) |
|
template<class dataType > |
void | initAcceleratedKMeans (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
template<class dataType > |
void | copyCentroids (std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< ftm::MergeTree< dataType > > &oldCentroids) |
|
template<class dataType > |
void | assignmentCentroidsAccelerated (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< std::tuple< int, int > > &assignmentC, std::vector< dataType > &bestDistanceT, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
template<class dataType > |
void | assignmentCentroids (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< std::tuple< int, int > > &assignmentC, std::vector< dataType > &bestDistanceT, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
template<class dataType > |
void | finalAssignmentCentroids (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, matchingVectorType &matchingsC, std::vector< std::tuple< int, int > > &assignmentC, std::vector< dataType > &bestDistanceT, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< ftm::MergeTree< dataType > > ¢roids2, matchingVectorType &matchingsC2) |
|
template<class dataType > |
void | assignmentCentroidsNaive (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< std::tuple< int, int > > &assignmentC, std::vector< dataType > &bestDistanceT, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
template<class dataType > |
void | getCentroidsDistanceMatrix (std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< std::vector< double > > &distanceMatrix, bool useDoubleInput=false, bool isFirstInput=true) |
|
void | matchingCorrespondence (treesMatchingVector &matchingT, std::vector< int > &nodeCorr, std::vector< int > &assignedTreesIndex) |
|
bool | samePreviousAssignment (int clusterId) |
|
template<class dataType > |
bool | updateCentroids (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< double > &alphas, std::vector< std::tuple< int, int > > &assignmentC) |
|
template<class dataType > |
void | computeOneBarycenter (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< double > &alphas, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &finalMatchings) |
|
template<class dataType > |
void | computeCentroids (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, matchingVectorType &outputMatching, std::vector< double > &alphas, std::vector< int > &clusteringAssignment, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< ftm::MergeTree< dataType > > ¢roids2, matchingVectorType &outputMatching2) |
|
template<class dataType > |
void | execute (std::vector< ftm::MergeTree< dataType > > &trees, matchingVectorType &outputMatching, std::vector< double > &alphas, std::vector< int > &clusteringAssignment, std::vector< ftm::MergeTree< dataType > > &trees2, matchingVectorType &outputMatching2, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
template<class dataType > |
void | execute (std::vector< ftm::MergeTree< dataType > > &trees, matchingVectorType &outputMatching, std::vector< int > &clusteringAssignment, std::vector< ftm::MergeTree< dataType > > &trees2, matchingVectorType &outputMatching2, std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
template<class dataType > |
void | execute (std::vector< ftm::MergeTree< dataType > > &trees, matchingVectorType &outputMatching, std::vector< int > &clusteringAssignment, std::vector< ftm::MergeTree< dataType > > ¢roids) |
|
template<class dataType > |
void | preprocessingClustering (std::vector< ftm::MergeTree< dataType > > &trees, std::vector< std::vector< int > > &nodeCorr, bool useMinMaxPairT=true) |
|
template<class dataType > |
void | fixMergedRootOriginClustering (std::vector< ftm::MergeTree< dataType > > ¢roids) |
|
template<class dataType > |
void | putBackMinMaxPair (std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
template<class dataType > |
void | postprocessingClustering (std::vector< ftm::MergeTree< dataType > > &trees, std::vector< ftm::MergeTree< dataType > > ¢roids, matchingVectorType &outputMatching, std::vector< int > &clusteringAssignment) |
|
template<class dataType > |
void | printCentroidsStats (std::vector< ftm::MergeTree< dataType > > ¢roids, std::vector< ftm::MergeTree< dataType > > ¢roids2) |
|
| 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) |
|
| BaseClass () |
|
virtual | ~BaseClass ()=default |
|
int | getThreadNumber () const |
|
virtual int | setThreadNumber (const int threadNumber) |
|
| MergeTreeBarycenter () |
|
| ~MergeTreeBarycenter () override=default |
|
void | setTol (double tolT) |
|
void | setAddNodes (bool addNodesT) |
|
void | setDeterministic (bool deterministicT) |
|
void | setProgressiveBarycenter (bool progressive) |
|
void | setProgressiveSpeedDivisor (double progSpeed) |
|
void | setIsCalled (bool ic) |
|
double | getAllDistanceTime () |
|
double | getAddDeletedNodesTime () |
|
void | setAlpha (double alpha) |
|
void | setBarycenterMaximumNumberOfPairs (unsigned int maxi) |
|
void | setBarycenterSizeLimitPercent (double percent) |
|
void | setPreprocess (bool preproc) |
|
void | setPostprocess (bool postproc) |
|
std::vector< double > | getFinalDistances () |
|
template<class dataType > |
void | getDistanceMatrix (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::FTMTree_MT * > &trees2, std::vector< std::vector< double > > &distanceMatrix, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | getDistanceMatrix (std::vector< ftm::FTMTree_MT * > &trees, std::vector< std::vector< double > > &distanceMatrix, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | getSizeLimitedTrees (std::vector< ftm::FTMTree_MT * > &trees, unsigned int barycenterMaximumNumberOfPairs, double sizeLimitPercent, std::vector< ftm::MergeTree< dataType > > &mTreesLimited) |
|
template<class dataType > |
void | getSizeLimitedDistanceMatrix (std::vector< ftm::FTMTree_MT * > &trees, std::vector< std::vector< double > > &distanceMatrix, unsigned int barycenterMaximumNumberOfPairs, double sizeLimitPercent, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | getParametrizedDistanceMatrix (std::vector< ftm::FTMTree_MT * > &trees, std::vector< std::vector< double > > &distanceMatrix, unsigned int barycenterMaximumNumberOfPairs, double sizeLimitPercent, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
int | getBestInitTreeIndex (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::FTMTree_MT * > &trees2, unsigned int barycenterMaximumNumberOfPairs, double sizeLimitPercent, bool distMinimizer=true) |
|
template<class dataType > |
int | getBestInitTreeIndex (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::FTMTree_MT * > &trees2, double sizeLimitPercent, bool distMinimizer=true) |
|
template<class dataType > |
int | getBestInitTreeIndex (std::vector< ftm::FTMTree_MT * > &trees, bool distMinimizer=true) |
|
template<class dataType > |
void | initBarycenterTree (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryTree, bool distMinimizer=true) |
|
template<class dataType > |
ftm::idNode | getNodesAndScalarsToAdd (ftm::MergeTree< dataType > &ttkNotUsed(mTree1), ftm::idNode nodeId1, ftm::FTMTree_MT *tree2, ftm::idNode nodeId2, std::vector< dataType > &newScalarsVector, std::vector< std::tuple< ftm::idNode, ftm::idNode, int > > &nodesToProcess, ftm::idNode nodeCpt, int i) |
|
template<class dataType > |
void | addNodes (ftm::MergeTree< dataType > &mTree1, int noTrees, std::vector< std::tuple< ftm::idNode, ftm::idNode, int > > &nodesToProcess, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode > > > &nodesProcessed) |
|
template<class dataType > |
void | updateNodesAndScalars (ftm::MergeTree< dataType > &mTree1, int noTrees, std::vector< std::tuple< ftm::idNode, ftm::idNode, int > > &nodesToProcess, std::vector< dataType > &newScalarsVector, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode > > > &nodesProcessed) |
|
template<class dataType > |
void | updateBarycenterTreeStructure (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings) |
|
template<class dataType > |
std::tuple< dataType, dataType > | getParametrizedBirthDeath (ftm::FTMTree_MT *tree1, ftm::idNode nodeId1) |
|
template<class dataType > |
std::tuple< dataType, dataType > | interpolation (ftm::MergeTree< dataType > &baryMergeTree, ftm::idNode nodeId, std::vector< dataType > &newScalarsVector, std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::idNode > &nodes, std::vector< double > &alphas) |
|
template<class dataType > |
std::tuple< dataType, dataType > | interpolationAdded (ftm::FTMTree_MT *tree, ftm::idNode nodeId, double alpha, ftm::MergeTree< dataType > &baryMergeTree, ftm::idNode nodeB, std::vector< dataType > &newScalarsVector) |
|
template<class dataType > |
void | updateBarycenterTreeScalars (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< double > &alphas, unsigned int indexAddedNodes, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings) |
|
template<class dataType > |
void | updateBarycenterTree (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< double > &alphas, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings) |
|
template<class dataType > |
void | computeOneDistance (ftm::FTMTree_MT *tree, ftm::FTMTree_MT *baryTree, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matching, dataType &distance, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | computeOneDistance (ftm::FTMTree_MT *tree, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matching, dataType &distance, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | computeOneDistance (ftm::MergeTree< dataType > &baryMergeTree, ftm::MergeTree< dataType > &baryMergeTree2, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matching, dataType &distance, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | assignment (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings, std::vector< dataType > &distances, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | assignmentPara (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings, std::vector< dataType > &distances, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
void | assignmentTask (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &matchings, std::vector< dataType > &distances, bool useDoubleInput=false, bool isFirstInput=true) |
|
template<class dataType > |
unsigned int | persistenceScaling (std::vector< ftm::FTMTree_MT * > &trees, std::vector< ftm::MergeTree< dataType > > &mergeTrees, std::vector< ftm::FTMTree_MT * > &oriTrees, int iterationNumber, std::vector< std::vector< ftm::idNode > > &deletedNodes) |
|
template<class dataType > |
void | addScaledDeletedNodesCost (std::vector< ftm::FTMTree_MT * > &oriTrees, std::vector< std::vector< ftm::idNode > > &deletedNodes, std::vector< dataType > &distances) |
|
template<class dataType > |
void | computeBarycenter (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< double > &alphas, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &finalMatchings, bool finalAsgnDoubleInput=false, bool finalAsgnFirstInput=true) |
|
template<class dataType > |
void | execute (std::vector< ftm::MergeTree< dataType > > &trees, std::vector< double > &alphas, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &finalMatchings, ftm::MergeTree< dataType > &baryMergeTree, bool finalAsgnDoubleInput=false, bool finalAsgnFirstInput=true) |
|
template<class dataType > |
void | execute (std::vector< ftm::MergeTree< dataType > > &trees, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &finalMatchings, ftm::MergeTree< dataType > &baryMergeTree, bool finalAsgnDoubleInput=false, bool finalAsgnFirstInput=true) |
|
template<class dataType > |
void | limitSizePercent (ftm::MergeTree< dataType > &bary, std::vector< ftm::FTMTree_MT * > &trees, double percent, bool useBD) |
|
template<class dataType > |
void | limitSizeBarycenter (ftm::MergeTree< dataType > &bary, std::vector< ftm::FTMTree_MT * > &trees, unsigned int barycenterMaximumNumberOfPairs, double percent, bool useBD=true) |
|
template<class dataType > |
void | limitSizeBarycenter (ftm::MergeTree< dataType > &bary, std::vector< ftm::FTMTree_MT * > &trees, double percent, bool useBD=true) |
|
template<class dataType > |
void | limitSizeBarycenter (ftm::MergeTree< dataType > &bary, std::vector< ftm::FTMTree_MT * > &trees, bool useBD=true) |
|
template<class dataType > |
void | fixMergedRootOriginBarycenter (ftm::MergeTree< dataType > &barycenter) |
|
void | printBaryStats (ftm::FTMTree_MT *baryTree, const debug::Priority &priority=debug::Priority::INFO) |
|
template<class dataType > |
void | verifyBarycenterTwoTrees (std::vector< ftm::FTMTree_MT * > &trees, ftm::MergeTree< dataType > &baryMergeTree, std::vector< std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > > &finalMatchings, std::vector< dataType > distances) |
|
| MergeTreeBase () |
|
void | setAssignmentSolver (int assignmentSolver) |
|
void | setEpsilon1UseFarthestSaddle (bool b) |
|
void | setEpsilonTree1 (double epsilon) |
|
void | setEpsilonTree2 (double epsilon) |
|
void | setEpsilon2Tree1 (double epsilon) |
|
void | setEpsilon2Tree2 (double epsilon) |
|
void | setEpsilon3Tree1 (double epsilon) |
|
void | setEpsilon3Tree2 (double epsilon) |
|
void | setPersistenceThreshold (double pt) |
|
void | setParallelize (bool para) |
|
void | setNodePerTask (int npt) |
|
void | setBranchDecomposition (bool useBD) |
|
void | setNormalizedWasserstein (bool normalizedWasserstein) |
|
void | setKeepSubtree (bool keepSubtree) |
|
void | setNonMatchingWeight (double weight) |
|
void | setBarycenterMergeTree (bool imt) |
|
void | setDistanceSquaredRoot (bool distanceSquaredRoot) |
|
void | setUseMinMaxPair (bool useMinMaxPair) |
|
void | setDeleteMultiPersPairs (bool deleteMultiPersPairsT) |
|
void | setCleanTree (bool clean) |
|
void | setIsPersistenceDiagram (bool isPD) |
|
std::vector< std::vector< int > > | getTreesNodeCorr () |
|
double | mixDistancesMinMaxPairWeight (bool isFirstInput) |
|
double | mixDistancesWeight (bool isFirstInput) |
|
template<class dataType > |
double | mixDistances (dataType distance1, dataType distance2) |
|
template<class dataType > |
void | mixDistancesMatrix (std::vector< std::vector< dataType > > &distanceMatrix, std::vector< std::vector< dataType > > &distanceMatrix2) |
|
template<class dataType > |
void | mergeSaddle (ftm::FTMTree_MT *tree, double epsilon, std::vector< std::vector< ftm::idNode > > &treeNodeMerged, bool mergeByPersistence=false) |
|
template<class dataType > |
void | persistenceMerging (ftm::FTMTree_MT *tree, double epsilon2, double epsilon3=100) |
|
template<class dataType > |
void | keepMostImportantPairs (ftm::FTMTree_MT *tree, int n, bool useBD) |
|
template<class dataType > |
void | persistenceThresholding (ftm::FTMTree_MT *tree, double persistenceThresholdT, std::vector< ftm::idNode > &deletedNodes) |
|
template<class dataType > |
void | persistenceThresholding (ftm::FTMTree_MT *tree, std::vector< ftm::idNode > &deletedNodes) |
|
template<class dataType > |
void | persistenceThresholding (ftm::FTMTree_MT *tree, double persistenceThresholdT) |
|
template<class dataType > |
void | persistenceThresholding (ftm::FTMTree_MT *tree) |
|
template<class dataType > |
void | verifyOrigins (ftm::FTMTree_MT *tree) |
|
template<class dataType > |
void | preprocessTree (ftm::FTMTree_MT *tree, bool deleteInconsistentNodes=true) |
|
template<class dataType > |
ftm::FTMTree_MT * | computeBranchDecomposition (ftm::FTMTree_MT *tree, std::vector< std::vector< ftm::idNode > > &treeNodeMerged) |
|
template<class dataType > |
void | dontUseMinMaxPair (ftm::FTMTree_MT *tree) |
|
void | verifyPairsTree (ftm::FTMTree_MT *tree) |
|
template<class dataType > |
void | deleteMultiPersPairs (ftm::FTMTree_MT *tree, bool useBD) |
|
template<class dataType > |
void | preprocessingPipeline (ftm::MergeTree< dataType > &mTree, double epsilonTree, double epsilon2Tree, double epsilon3Tree, bool branchDecompositionT, bool useMinMaxPairT, bool cleanTreeT, double persistenceThreshold, std::vector< int > &nodeCorr, bool deleteInconsistentNodes=true) |
|
template<class dataType > |
void | preprocessingPipeline (ftm::MergeTree< dataType > &mTree, double epsilonTree, double epsilon2Tree, double epsilon3Tree, bool branchDecompositionT, bool useMinMaxPairT, bool cleanTreeT, std::vector< int > &nodeCorr, bool deleteInconsistentNodes=true) |
|
void | reverseNodeCorr (ftm::FTMTree_MT *tree, std::vector< int > &nodeCorr) |
|
template<class dataType > |
void | mtFlattening (ftm::MergeTree< dataType > &mt) |
|
template<class dataType > |
void | mtsFlattening (std::vector< ftm::MergeTree< dataType > > &mts) |
|
double | getSizeLimitMetric (std::vector< ftm::FTMTree_MT * > &trees) |
|
template<class dataType > |
void | copyMinMaxPair (ftm::MergeTree< dataType > &mTree1, ftm::MergeTree< dataType > &mTree2, bool setOrigins=false) |
|
template<class dataType > |
std::tuple< int, dataType > | fixMergedRootOrigin (ftm::FTMTree_MT *tree) |
|
template<class dataType > |
void | branchDecompositionToTree (ftm::FTMTree_MT *tree) |
|
template<class dataType > |
void | putBackMergedNodes (ftm::FTMTree_MT *tree) |
|
template<class dataType > |
void | postprocessingPipeline (ftm::FTMTree_MT *tree) |
|
template<class dataType > |
void | convertBranchDecompositionMatching (ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &outputMatching) |
|
template<class dataType > |
void | convertBranchDecompositionMatching (ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, std::vector< std::tuple< ftm::idNode, ftm::idNode > > &outputMatching) |
|
template<class dataType > |
void | identifyRealMatching (ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, std::vector< std::tuple< ftm::idNode, ftm::idNode > > &outputMatching, std::vector< std::tuple< ftm::idNode, ftm::idNode, bool > > &realMatching) |
|
template<class dataType > |
dataType | computeDistance (dataType x1, dataType x2, dataType y1, dataType y2, double power=2) |
|
template<class dataType > |
dataType | deleteCost (ftm::FTMTree_MT *tree, ftm::idNode nodeId) |
|
template<class dataType > |
dataType | insertCost (ftm::FTMTree_MT *tree, ftm::idNode nodeId) |
|
template<class dataType > |
dataType | relabelCostOnly (ftm::FTMTree_MT *tree1, ftm::idNode nodeId1, ftm::FTMTree_MT *tree2, ftm::idNode nodeId2) |
|
template<class dataType > |
dataType | relabelCost (ftm::FTMTree_MT *tree1, ftm::idNode nodeId1, ftm::FTMTree_MT *tree2, ftm::idNode nodeId2) |
|
void | getParamNames (std::vector< std::string > ¶mNames) |
|
double | getParamValueFromName (std::string ¶mName) |
|
void | setParamValueFromName (std::string ¶mName, double value) |
|
void | getTreesStats (std::vector< ftm::FTMTree_MT * > &trees, std::array< double, 3 > &stats) |
|
void | printTreesStats (std::vector< ftm::FTMTree_MT * > &trees) |
|
template<class dataType > |
void | printTreesStats (std::vector< ftm::MergeTree< dataType > > &trees) |
|
template<class dataType > |
void | printTableVector (std::vector< std::vector< dataType > > &table) |
|
template<class dataType > |
void | printTable (dataType *table, int nRows, int nCols) |
|
void | printMatching (std::vector< MatchingType > &matchings) |
|
void | printMatching (std::vector< std::tuple< ftm::idNode, ftm::idNode, double > > &matchings) |
|
void | printMatching (std::vector< std::tuple< ftm::idNode, ftm::idNode > > &matchings) |
|
template<class dataType > |
void | printPairs (std::vector< std::tuple< SimplexId, SimplexId, dataType > > &treePairs) |
|
template<class dataType > |
void | printOutputMatching (std::vector< std::tuple< ftm::idNode, ftm::idNode > > &outputMatching, ftm::FTMTree_MT *tree1, ftm::FTMTree_MT *tree2, bool computeCosts=true) |
|