23 #ifndef _GLIBCXX_STRING
40 SizeAwareTree *rb_gettree(
const NT_NODE *tree);
60 typedef std::vector<double> Weights;
66 tree->get_tree_root()->find_innermost_edge().set_root();
76 weights.push_back(weight);
87 double phase1_fraction;
89 size_t source_species_count = 0;
96 size_t common_species_count = source_species_count-different_species;
97 size_t noncommon_species_count = source_species_count-common_species_count;
99 double O_deconstruct = 3.0*noncommon_species_count*noncommon_species_count + target_edge_count*target_edge_count;
100 double O_reconstruct = (10.0*noncommon_species_count + target_edge_count) * 1.0e7;
101 phase1_fraction = O_deconstruct / (O_deconstruct+O_reconstruct);
148 #error CT_ctree.hxx included twice
149 #endif // CT_CTREE_HXX
SizeAwareTree * get_consensus_tree(GB_ERROR &error)
const char * name() const
const SizeAwareTree * get_tree(int idx) const
ConsensusTree(const CharPtrArray &names_)
char * get_tree_remark() const
size_t get_species_count() const
const char * GBS_global_string(const char *templat,...)
size_t species_count() const
size_t get_tree_count() const
int add(SizeAwareTree *&tree, const char *treename)
GB_ERROR error_if_aborted()
static int weight[maxsites+1]
const TreeInfo & get_tree_info(int idx) const
__ATTR__USERESULT GB_ERROR insert_tree_weighted(const TreeNode *tree, int leafs, double weight, bool provideProgress)
CONSTEXPR_INLINE int leafs_2_edges(int leafs, TreeModel model)
void add(SizeAwareTree *&tree, const char *treename, double weight)
static void error(const char *msg)
void get_species_names(ConstStrArray &species_names) const
#define __ATTR__USERESULT