CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cafe_shell.h
Go to the documentation of this file.
1 #ifndef __CAFE_SHELL_H__
2 #define __CAFE_SHELL_H__
3 
4 #include <utils.h>
5 #include <utils_string.h>
6 #include <family.h>
7 
8 typedef enum
9 {
10  CAFE_SHELL_EXIT = 10000,
13 
14 typedef struct
15 {
16  double* sizeDist;
18  int** pairs;
23  double* estimates; // estimates index goes in order row (-diff) ... -1 0 1 ... (+diff) for asymmetric models and 0 1 ... (diff) for symmetric models.
24 
25 } ErrorMeasure;
27 
28 void initialize_k_bd(pCafeTree pcafe, pTree lambda_tree, int num_values, int fixcluster, double *parameters);
29 void set_birth_death_probabilities4(struct probabilities *probs, int num_lambdas, int fix_cluster, int taxa_id, double* parameters);
30 
31 #endif
double * sizeDist
Definition: cafe_shell.h:16
int b_symmetric
Definition: cafe_shell.h:21
double * estimates
Definition: cafe_shell.h:23
Definition: family.h:41
enumCafeSehll
Definition: cafe_shell.h:8
Definition: cafe_shell.h:11
int b_peakzero
Definition: cafe_shell.h:22
int ** pairs
Definition: cafe_shell.h:18
int maxFamilySize
Definition: cafe_shell.h:17
int model_parameter_number
Definition: cafe_shell.h:19
Definition: cafe_shell.h:14
Definition: tree.h:11
void set_birth_death_probabilities4(struct probabilities *probs, int num_lambdas, int fix_cluster, int taxa_id, double *parameters)
Definition: cafe_shell.c:148
ErrorMeasure * pErrorMeasure
Definition: cafe_shell.h:26
void initialize_k_bd(pCafeTree pcafe, pTree lambda_tree, int num_values, int fixcluster, double *parameters)
Definition: cafe_shell.c:194
int model_parameter_diff
Definition: cafe_shell.h:20
Definition: family.h:17
Definition: cafe_shell.h:10