1 | #include <config.h> |
---|
2 | |
---|
3 | #ifndef PART_H |
---|
4 | #define PART_H |
---|
5 | |
---|
6 | #include "utilities.h" |
---|
7 | |
---|
8 | void Menu_Supertree(option *input); |
---|
9 | void PART_Print_Nodes(t_node *a, t_node *d, supert_tree *st); |
---|
10 | supert_tree *PART_Make_Supert_tree_Light(option *input); |
---|
11 | void PART_Make_Supert_tree_Full(supert_tree *st, option *input, calign **data); |
---|
12 | void PART_Get_List_Of_Reachable_Tips(t_node *a, t_node *d, calign **data, supert_tree *st); |
---|
13 | void PART_Get_List_Of_Reachable_Tips_Pre(t_node *a, t_node *d, supert_tree *st); |
---|
14 | void PART_Get_List_Of_Reachable_Tips_Post(t_node *a, t_node *d, supert_tree *st); |
---|
15 | void PART_Prune_St_Topo(t_tree *tree, calign *data, supert_tree *st); |
---|
16 | void PART_Match_St_Nodes_In_Gt_Recurr(t_node *a_gt, t_node *d_gt, t_node *a_st, t_node *d_st, t_tree *gt, supert_tree *st); |
---|
17 | void PART_Match_St_Nodes_In_Gt(t_tree *tree, supert_tree *st); |
---|
18 | void PART_Match_St_Edges_In_Gt(t_tree *gt, supert_tree *st); |
---|
19 | void PART_Match_St_Edges_In_Gt_Recurr(t_node *a, t_node *d, t_node *a_st, t_node *d_st, t_tree *gt, supert_tree *st); |
---|
20 | void PART_Simu(supert_tree *tr); |
---|
21 | int PART_Mov_Backward_Topo_Bl(supert_tree *st, phydbl lk_old, t_edge **tested_b, int n_tested); |
---|
22 | int PART_Get_Species_Found_In_St(supert_tree *st, calign *data); |
---|
23 | void PART_Map_St_Nodes_In_Gt_Pre(t_node *a_st, t_node *d_st, t_tree *gt, supert_tree *st); |
---|
24 | void PART_Map_St_Nodes_In_Gt_Post(t_node *a_st, t_node *d_st, t_tree *gt, supert_tree *st); |
---|
25 | void PART_Map_St_Nodes_In_Gt(t_tree *gt, supert_tree *st); |
---|
26 | void PART_Map_St_Nodes_In_Gt_One_Edge(t_node *a_st, t_node *d_st, t_edge *b_st, t_tree *gt, supert_tree *st); |
---|
27 | void PART_Map_St_Edges_In_Gt(t_tree *gt, supert_tree *st); |
---|
28 | phydbl PART_Lk(supert_tree *st); |
---|
29 | int PART_Pars(supert_tree *st); |
---|
30 | int PART_Spr(phydbl init_lnL, supert_tree *st); |
---|
31 | void PART_Speed_Spr(supert_tree *st); |
---|
32 | int Map_Spr_Move(t_edge *st_pruned, t_edge *st_target, t_node *st_link, t_tree *gt, supert_tree *st); |
---|
33 | void PART_Test_All_Spr_Targets(t_edge *pruned, t_node *n_link, supert_tree *st); |
---|
34 | void PART_Test_One_Spr_Target_Recur(t_node *a, t_node *d, t_edge *target, t_edge *pruned, t_node *n_link, supert_tree *st); |
---|
35 | void PART_Test_One_Spr_Target(t_edge *st_p, t_edge *st_t, t_node *n_link, supert_tree *st); |
---|
36 | int PART_Test_List_Of_Regraft_Pos(t_spr **st_spr_list, int list_size, supert_tree *st); |
---|
37 | int PART_Try_One_Spr_Move(t_spr *st_move, supert_tree *st); |
---|
38 | void PART_Map_Gt_Edges_In_St(t_tree *gt, supert_tree *st); |
---|
39 | void PART_NNI(t_edge *st_b, supert_tree *st); |
---|
40 | void PART_Swap(t_node *st_a, t_node *st_b, t_node *st_c, t_node *st_d, supert_tree *st); |
---|
41 | void PART_Set_Bl(phydbl **bl, supert_tree *st); |
---|
42 | void PART_Restore_Br_Len(supert_tree *st); |
---|
43 | void PART_Record_Br_Len(supert_tree *st); |
---|
44 | phydbl PART_Lk_At_Given_Edge(t_edge *st_b, supert_tree *st); |
---|
45 | phydbl PART_Update_Lk_At_Given_Edge(t_edge *st_b, supert_tree *st); |
---|
46 | void PART_Fill_Model_Partitions_Table(supert_tree *st); |
---|
47 | phydbl PART_Br_Len_Brent(t_edge *st_b, int quickdirty, supert_tree *tree); |
---|
48 | void PART_Initialise_Bl_Partition(supert_tree *st); |
---|
49 | void PART_Update_P_Lk(t_edge *st_b, t_node *st_n, supert_tree *st); |
---|
50 | void PART_Optimize_Br_Len_Serie(t_node *st_a, t_node *st_d, t_edge *st_b, supert_tree *st); |
---|
51 | void PART_Update_Bl_Swaped(t_edge **st_b, int n, supert_tree *st); |
---|
52 | void PART_Update_Bl(phydbl fact, supert_tree *st); |
---|
53 | void PART_Make_N_Swap(t_edge **st_b, int beg, int end, supert_tree *st); |
---|
54 | void PART_Do_Mapping(supert_tree *st); |
---|
55 | void PART_Update_PMat(t_edge *st_b, supert_tree *st); |
---|
56 | void PART_Print_Bl(supert_tree *st); |
---|
57 | void PART_Check_Extra_Taxa(supert_tree *st); |
---|
58 | int PART_main(int argc, char **argv); |
---|
59 | #endif |
---|
60 | |
---|