ARB
|
#include <CT_common.hxx>
Public Member Functions | |
DeconstructedTree (const SpeciesSpace &specSpace_) | |
~DeconstructedTree () | |
__ATTR__USERESULT GB_ERROR | deconstruct_weighted (const TreeNode *tree, const PART *wholeTree, int leafs, double weight, bool provideProgress, const PART *allSpecies, DeconstructionMode mode) |
void | start_sorted_retrieval () |
size_t | get_part_count () const |
PART * | get_part () |
const PART * | peek_part (int idx) const |
const PART * | find_part (const TreeNode *node) const |
const PART * | find_innermost_part () const |
Definition at line 199 of file CT_common.hxx.
DeconstructedTree::DeconstructedTree | ( | const SpeciesSpace & | specSpace_ | ) |
Definition at line 46 of file CT_ctree.cxx.
DeconstructedTree::~DeconstructedTree | ( | ) |
Definition at line 52 of file CT_ctree.cxx.
GB_ERROR DeconstructedTree::deconstruct_weighted | ( | const TreeNode * | tree, |
const PART * | wholeTree, | ||
int | leafs, | ||
double | weight, | ||
bool | provideProgress, | ||
const PART * | allSpecies, | ||
DeconstructionMode | mode | ||
) |
Definition at line 106 of file CT_ctree.cxx.
References arb_assert, DMODE_ROOTSYNC, PART::equals(), error(), arb_progress::error_if_aborted(), GBT_count_leafs(), PART::get_members(), leafs_2_nodes(), NULp, ROOTED, and weight.
Referenced by ConsensusTree::insert_tree_weighted().
void DeconstructedTree::start_sorted_retrieval | ( | ) |
Definition at line 55 of file CT_ctree.cxx.
References PartRegistry::build_sorted_list().
Referenced by ConsensusTree::get_consensus_tree().
size_t DeconstructedTree::get_part_count | ( | ) | const |
Definition at line 56 of file CT_ctree.cxx.
References PartRegistry::size().
Referenced by RootSynchronizer::find_best_matching_PART_in(), find_innermost_part(), RootSynchronizer::find_worst_matching_PART_in(), and ConsensusTree::get_consensus_tree().
PART * DeconstructedTree::get_part | ( | ) |
Definition at line 57 of file CT_ctree.cxx.
References PartRegistry::get_part().
Referenced by ConsensusTree::get_consensus_tree().
Definition at line 58 of file CT_ctree.cxx.
References PartRegistry::peek_part().
Referenced by RootSynchronizer::find_best_matching_PART_in(), find_innermost_part(), and RootSynchronizer::find_worst_matching_PART_in().
Definition at line 71 of file CT_ctree.cxx.
References TreeNode::get_brother(), and TreeNode::is_son_of_root().
const PART * DeconstructedTree::find_innermost_part | ( | ) | const |
Definition at line 79 of file CT_ctree.cxx.
References arb_assert, PART::distance_to_tree_center(), get_part_count(), NULp, and peek_part().