17 #ifndef _GLIBCXX_ALGORITHM
30 #define st_assert(cond) arb_assert(cond)
81 b[base] = other_min_freq / other.
b[base];
106 void set(
double dist,
double TT_ratio);
117 char *alignment_name;
124 int latest_modification;
137 const float *ttratio;
145 int max_rate_matrices;
150 size_t distance_2_matrices_index(
int distance) {
151 if (distance<0) distance = -distance;
153 return distance >= max_rate_matrices
154 ? (max_rate_matrices-1)
163 void insert_tree_into_hash_rek(
AP_tree *node);
164 void create_matrices(
double max_disti,
int nmatrices);
165 void create_frequencies();
167 static long delete_species(
const char *key,
long val,
void *cd_st_ml);
178 const char *alignment_name,
179 const char *species_names,
191 return rate_matrices[distance_2_matrices_index(distance)];
201 postcalc_cb = postcalc_cb_;
202 cb_window = cb_window_;
229 #error st_ml.hxx included twice
GBDATA * get_gb_main() const
GB_ERROR calc_st_ml(const char *tree_name, const char *alignment_name, const char *species_names, int marked_only, ColumnStat *colstat, const WeightedFilter *weighted_filter) __ATTR__USERESULT
void setTo(ST_FLOAT freq)
size_t get_first_pos() const
const TreeNode * get_gbt_tree() const
const ST_base_vector & get_base_frequency_at(size_t pos) const
void(* WindowCallbackSimple)(AW_window *)
ColumnStat * get_column_statistic()
void set_modified(int *what=NULp)
void increaseBy(ST_FLOAT inc)
unsigned char ST_ML_Color
const ST_base_vector * get_inv_base_frequencies() const
float get_rate_at(size_t pos) const
void transform(const ST_base_vector &in, ST_base_vector &out) const
void multiplyWith(ST_FLOAT factor)
AP_tree * find_node_by_name(const char *species_name)
size_t get_filtered_length() const
const char * awarname(const char *awarname_template, int idx)
double get_step_size() const
MostLikelySeq * get_ml_vectors(const char *species_name, AP_tree *node, size_t start_ali_pos, size_t end_ali_pos)
void makeInverseOf(const ST_base_vector &other, ST_FLOAT other_min_freq)
size_t count_species_in_tree() const
ST_rate_matrix & get_matrix_for(int distance)
ST_FLOAT summarize() const
void set_postcalc_callback(WindowCallbackSimple postcalc_cb_, AW_window *cb_window_)
bool update_ml_likelihood(char *result[4], int &latest_update, const char *species_name, AP_tree *node)
void setBase(const ST_base_vector &frequencies, char base)
const AP_filter * get_filter() const
#define __ATTR__USERESULT
size_t get_last_pos() const
size_t get_alignment_length() const
ST_ML_Color * get_color_string(const char *species_name, AP_tree *node, size_t start_ali_pos, size_t end_ali_pos)
void set(double dist, double TT_ratio)
void create_column_statistic(AW_root *awr, const char *awarname, AW_awar *awar_default_alignment)
ST_base_vector & operator*=(const ST_base_vector &other)
void do_postcalc_callback()