source: trunk/GDE/PHYML20130708/phyml/src/sergeii.h

Last change on this file was 10307, checked in by aboeckma, 11 years ago

added most recent version of phyml

File size: 2.1 KB
Line 
1#ifndef SERGEII_H
2#define SERGEII_H
3
4#include "utilities.h"
5
6int My_Function(int argc, char **argv);
7int My_main(int argc, char **argv);
8void PhyTime_XML(char *xml_file);
9phydbl TIMES_Calib_Cond_Prob(t_tree *tree);
10int Number_Of_Comb(t_cal *calib);
11int Number_Of_Calib(t_cal *calib);
12void Check_Node_Time(t_node *a, t_node *d, int *result, t_tree *tree);
13void Set_Current_Calibration(int row, t_tree *tree);
14void Random_Calibration(t_tree *tree);
15int RND_Calibration_And_Node_Number(t_tree *tree);
16phydbl Randomize_One_Node_Time(phydbl min, phydbl max);
17void Lk_Hastings_Ratio_Times(t_node *a, t_node *d, phydbl *tot_prob, t_tree *tree);
18void Update_Descendent_Cond_Jump(t_node *a, t_node *d, phydbl *L_Hast_ratio, t_tree *tree);
19void Update_Ancestor_Cond_Jump(t_node *d, phydbl *L_Hast_ratio, t_tree *tree);
20void Update_Times_RND_Node_Ancestor_Descendant(int rnd_node, phydbl *L_Hast_ratio, t_tree *tree);
21void Update_Times_Down_Tree(t_node *a, t_node *d, phydbl *L_Hastings_ratio, t_tree *tree);
22phydbl Slicing_Calibrations(t_tree *tree);
23int Number_Of_Comb_Slices(int m, int num_elem, int *n_slice);
24void Check_Time_Slices(t_node *a, t_node *d, int *result, phydbl *t_cur_slice_min, phydbl *t_cur_slice_max, t_tree *tree);
25void Number_Of_Nodes_In_Slice(t_node *d_start, t_node *d, int *n, phydbl *t_cur_slice_min, phydbl *t_cur_slice_max, t_tree *tree);
26void Search_Root_Node_In_Slice(t_node *d_start, t_node *d, int *root_nodes, int *num_elem, phydbl t_slice_min, phydbl t_slice_max, phydbl *t_cur_slice_min, phydbl *t_cur_slice_max, t_tree *tree);
27int Factorial(int base);
28phydbl *Norm_Constant_Prior_Times(t_tree *tree);
29void TIMES_Calib_Partial_Proba(t_tree *tree);
30xml_node *XML_Search_Node_Attribute_Value_Clade(char *attr_name, char *value, int skip, xml_node *node);
31char **XML_Reading_Clade(xml_node *n_clade, t_tree *tree);
32int XML_Number_Of_Taxa_In_Clade(xml_node *n_clade);
33void TIMES_Set_All_Node_Priors_S(int *result, t_tree *tree);
34void TIMES_Set_All_Node_Priors_Bottom_Up_S(t_node *a, t_node *d, int *result, t_tree *tree);
35void TIMES_Set_All_Node_Priors_Top_Down_S(t_node *a, t_node *d, int *result, t_tree *tree);
36#endif
37
Note: See TracBrowser for help on using the repository browser.