| 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 | #include <config.h> |
|---|
| 14 | |
|---|
| 15 | #ifndef CURR_H |
|---|
| 16 | #define CURR_H |
|---|
| 17 | |
|---|
| 18 | #include "utilities.h" |
|---|
| 19 | #include "lk.h" |
|---|
| 20 | #include "optimiz.h" |
|---|
| 21 | #include "models.h" |
|---|
| 22 | #include "free.h" |
|---|
| 23 | #include "spr.h" |
|---|
| 24 | #include "pars.h" |
|---|
| 25 | #include "alrt.h" |
|---|
| 26 | |
|---|
| 27 | void Simu_Loop(t_tree *tree); |
|---|
| 28 | int Simu(t_tree *tree,int n_step_max); |
|---|
| 29 | void Select_Edges_To_Swap(t_tree *tree,t_edge **sorted_b,int *n_neg); |
|---|
| 30 | void Update_Bl(t_tree *tree,phydbl fact); |
|---|
| 31 | void Make_N_Swap(t_tree *tree,t_edge **b,int beg,int end); |
|---|
| 32 | int Make_Best_Swap(t_tree *tree); |
|---|
| 33 | int Mov_Backward_Topo_Bl(t_tree *tree,phydbl lk_old,t_edge **tested_b,int n_tested); |
|---|
| 34 | void Unswap_N_Branch(t_tree *tree,t_edge **b,int beg,int end); |
|---|
| 35 | void Swap_N_Branch(t_tree *tree,t_edge **b,int beg,int end); |
|---|
| 36 | void Check_NNI_Scores_Around(t_node *a, t_node *d, t_edge *b, phydbl *best_score, t_tree *tree); |
|---|
| 37 | int Mov_Backward_Topo_Pars(t_tree *tree, int pars_old, t_edge **tested_b, int n_tested); |
|---|
| 38 | void Simu_Pars(t_tree *tree, int n_step_max); |
|---|
| 39 | |
|---|
| 40 | #endif |
|---|