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 GEO_H |
---|
16 | #define GEO_H |
---|
17 | |
---|
18 | #include "utilities.h" |
---|
19 | |
---|
20 | int GEO_Main(int argc, char **argv); |
---|
21 | t_geo *GEO_Make_Geo_Basic(); |
---|
22 | void GEO_Make_Geo_Complete(int ldscape_sz,int n_dim,int n_tax,t_geo *t); |
---|
23 | void Free_Geo(t_geo *t); |
---|
24 | void GEO_Update_Fmat(t_geo *t); |
---|
25 | void GEO_Update_Sorted_Nd(t_geo *t,t_tree *tree); |
---|
26 | void GEO_Update_Occup(t_geo *t,t_tree *tree); |
---|
27 | void GEO_Update_Rmat(t_node *n,t_geo *t,t_tree *tree); |
---|
28 | phydbl GEO_Lk(t_geo *t,t_tree *tree); |
---|
29 | void GEO_Init_Tloc_Tips(t_geo *t,t_tree *tree); |
---|
30 | phydbl GEO_Total_Migration_Rate(t_node *n,t_geo *t); |
---|
31 | int GEO_Get_Arrival_Location(t_node *n,t_geo *t,t_tree *tree); |
---|
32 | void GEO_Simulate_Coordinates(int n, t_geo *t); |
---|
33 | t_tree *GEO_Simulate(t_geo *t, int n_otu); |
---|
34 | void GEO_Optimize_Sigma(t_geo *t, t_tree *tree); |
---|
35 | phydbl GEO_Wrap_Lk(t_edge *b, t_tree *tree, supert_tree *stree); |
---|
36 | void GEO_Optimize_Lambda(t_geo *t, t_tree *tree); |
---|
37 | void GEO_Init_Geo_Struct(t_geo *t); |
---|
38 | void GEO_Optimize_Tau(t_geo *t, t_tree *tree); |
---|
39 | void GEO_Get_Locations_Beneath(t_geo *t, t_tree *tree); |
---|
40 | void GEO_Get_Locations_Beneath_Post(t_node *a, t_node *d, t_geo *t, t_tree *tree); |
---|
41 | void GEO_Randomize_Locations_Pre(t_node *n, t_geo *t, t_tree *tree); |
---|
42 | void GEO_Randomize_Locations(t_node *n, t_geo *t, t_tree *tree); |
---|
43 | void GEO_Get_Sigma_Max(t_geo *t); |
---|
44 | void MCMC_Geo_Updown_Tau_Lbda(t_tree *tree); |
---|
45 | void MCMC_Geo_Updown_Lbda_Sigma(t_tree *tree); |
---|
46 | int GEO_Simulate_Estimate(int argc, char **argv); |
---|
47 | void GEO_Read_In_Landscape(char *file_name, t_geo *t, phydbl **ldscape, int **loc_hash, t_tree *tree); |
---|
48 | int GEO_Estimate(int argc, char **argv); |
---|
49 | phydbl *GEO_MCMC(t_tree *tree); |
---|
50 | |
---|
51 | #endif |
---|