1 | /* |
---|
2 | |
---|
3 | PHYML : a program that computes maximum likelihood phylogenies from |
---|
4 | DNA or AA homologous sequences |
---|
5 | |
---|
6 | Copyright (C) Stephane Guindon. Oct 2003 onward |
---|
7 | |
---|
8 | All parts of the source except where indicated are distributed under |
---|
9 | the GNU public licence. See http://www.opensource.org for details. |
---|
10 | |
---|
11 | */ |
---|
12 | |
---|
13 | #ifndef ML_H |
---|
14 | #define ML_H |
---|
15 | |
---|
16 | |
---|
17 | void Init_Tips_At_One_Site_Nucleotides(char state,double **p_lk); |
---|
18 | void Init_Tips_At_One_Site_AA(char aa,double **p_lk); |
---|
19 | void Get_All_Partial_Lk(arbre *tree,edge *b_fcus,node *a,node *d); |
---|
20 | void Get_All_Partial_Lk_Scale(arbre *tree,edge *b_fcus,node *a,node *d); |
---|
21 | void Post_Order_Lk(node *pere,node *fils,arbre *tree); |
---|
22 | void Pre_Order_Lk(node *pere,node *fils,arbre *tree); |
---|
23 | void Lk(arbre *tree,allseq *alldata); |
---|
24 | void Site_Lk(arbre *tree,allseq *alldata); |
---|
25 | double Lk_At_Given_Edge(arbre *tree,edge *b_fcus); |
---|
26 | void Update_P(arbre *tree,int t_edge_num); |
---|
27 | double Return_Lk(arbre *tree); |
---|
28 | double Return_Abs_Lk(arbre *tree); |
---|
29 | matrix *ML_Dist(allseq *data,model *mod); |
---|
30 | double Lk_Given_Two_Seq(allseq *data,int numseq1,int numseq2,double dist,model *mod,double *loglk,double *dloglk,double *d2loglk); |
---|
31 | double ***Get_Partial_Lk_Struct(arbre *tree,int len,int n_catg); |
---|
32 | void Unconstraint_Lk(arbre *tree); |
---|
33 | void Update_P_Lk(arbre *tree,edge *b_fcus,node *n); |
---|
34 | void Make_Tree_4_Lk(arbre *tree,allseq *alldata); |
---|
35 | void Init_P_Lk_Tips(arbre *tree); |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | #endif |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|