source: branches/ali/GDE/PHYML20130708/phyml/src/times.h

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

added most recent version of phyml

File size: 3.4 KB
Line 
1/*
2
3PhyML:  a program that  computes maximum likelihood phylogenies from
4DNA or AA homologous sequences.
5
6Copyright (C) Stephane Guindon. Oct 2003 onward.
7
8All parts of the source except where indicated are distributed under
9the GNU public licence. See http://www.opensource.org for details.
10
11*/
12
13#include <config.h>
14
15#ifndef TIMES_H
16#define TIMES_H
17
18#include "utilities.h"
19
20int  TIMES_main(int argc, char **argv);
21void TIMES_Bl_From_T_Post(t_node *a, t_node *d, t_edge *b, t_tree *tree);
22void TIMES_Bl_From_T(t_tree *tree);
23void TIMES_Optimize_Node_Times_Serie(t_node *a, t_node *d, t_tree *tree);
24void TIMES_Round_Optimize(t_tree *tree);
25void TIMES_Print_Node_Times(t_node *a, t_node *d, t_tree *tree);
26t_edge *TIMES_Find_Best_Root_Position(t_tree *tree);
27void TIMES_Least_Square_Node_Times(t_edge *e_root, t_tree *tree);
28void TIMES_Least_Square_Node_Times_Pre(t_node *a, t_node *d, phydbl *A, phydbl *b, int n, t_tree *tree);
29void TIMES_Mult_Time_Stamps(t_tree *tree);
30void TIMES_Div_Time_Stamps(t_tree *tree);
31void TIMES_Optimize_Tree_Height(t_tree *tree);
32void TIMES_Adjust_Node_Times(t_tree *tree);
33void TIMES_Adjust_Node_Times_Pre(t_node *a, t_node *d, t_tree *tree);
34void TIMES_Optimize_Root_Height(t_tree *tree);
35void TIMES_Estimate_Branch_Rates(t_tree *tree);
36t_edge *TIMES_Find_Best_Root_Position_Approx(t_tree *tree);
37void TIMES_Estimate_Branch_Rate_Parameter(t_tree *tree);
38phydbl TIMES_Classify_Branch_In_Rate_Class(t_tree *tree);
39void TIMES_Compute_Rates_And_Times_Least_Square_Adjustments(t_tree *tree);
40void TIMES_Compute_Rates_And_Times_Least_Square_Adjustments_Post(t_node *a, t_node *d, t_edge *b, t_tree *tree);
41void TIMES_Classify_Branch_Rates(t_tree *tree);
42int TIMES_Check_MC(t_tree *tree);
43void TIMES_Set_All_Node_Priors(t_tree *tree);
44void TIMES_Set_All_Node_Priors_Bottom_Up(t_node *a, t_node *d, t_tree *tree);
45void TIMES_Set_All_Node_Priors_Top_Down(t_node *a, t_node *d, t_tree *tree);
46void TIMES_Set_Floor(t_tree *tree);
47void TIMES_Set_Floor_Post(t_node *a, t_node *d, t_tree *tree);
48phydbl TIMES_Log_Conditional_Uniform_Density(t_tree *tree);
49phydbl TIMES_Log_Yule(t_tree *tree);
50phydbl TIMES_Lk_Times(t_tree *tree);
51void TIMES_Lk_Times_Trav(t_node *a, t_node *d, phydbl lim_inf, phydbl lim_sup, phydbl *logdens, t_tree *tree);
52phydbl TIMES_Log_Number_Of_Ranked_Labelled_Histories(t_node *root, int per_slice, t_tree *tree);
53void TIMES_Log_Number_Of_Ranked_Labelled_Histories_Post(t_node *a, t_node *d, int per_slice, phydbl *logn, t_tree *tree);
54phydbl TIMES_Lk_Uniform_Core(t_tree *tree);
55void TIMES_Get_Number_Of_Time_Slices(t_tree *tree);
56void TIMES_Get_Number_Of_Time_Slices_Post(t_node *a, t_node *d, t_tree *tree);
57void TIMES_Get_N_Slice_Spans(t_tree *tree);
58void TIMES_Allocate_Vectors_Time_Slice_Combin(t_tree *tree);
59void TIMES_Allocate_Vectors_Time_Slice_Combin_Post(t_node *a, t_node *d, t_tree *tree);
60void TIMES_Update_Curr_Slice(t_tree *tree);
61void TIMES_Lk_Uniform_Post(t_node *a, t_node *d, t_tree *tree);
62void TIMES_Set_Root_Given_Tip_Dates(t_tree *tree);
63void Get_Survival_Duration(t_tree *tree);
64void Get_Survival_Duration_Post(t_node *a, t_node *d, t_tree *tree);
65phydbl TIMES_Lk_Yule_Root_Marginal(t_tree *tree);
66phydbl TIMES_Lk_Yule_Joint(t_tree *tree);
67void TIMES_Update_Node_Ordering(t_tree *tree);
68phydbl TIMES_Lk_Yule_Order(t_tree *tree);
69void TIMES_Label_Edges_With_Calibration_Intervals(t_tree *tree);
70void TIMES_Record_Prior_Times(t_tree *tree);
71void TIMES_Reset_Prior_Times(t_tree *tree);
72
73#endif
Note: See TracBrowser for help on using the repository browser.